Virendra Agarwal
2016-07-04 05:26:12 UTC
Hi All I was trying to run Mongo DB with log rotate to rotate mongo logs on
daily basis.
I tried with this
nohup /opt/mongodb/bin/mongod --port=27017 --config /opt/mongodb.conf
--dbpath=/data/mongoData/ --replSet businessSet --maxConns=20000
--logpath=/data/log/mongodb.log* --logRotate reopen --logappend*
--storageEngine mmapv1 &
I am not sure how logRoatte will rotate the log files as i could not find
any parameter which takes size input.
Could you please explain this.
Thanks
Virendra Agarwal
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/430c0089-ddaa-4a75-b4a4-1ba56ae5af71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
daily basis.
I tried with this
nohup /opt/mongodb/bin/mongod --port=27017 --config /opt/mongodb.conf
--dbpath=/data/mongoData/ --replSet businessSet --maxConns=20000
--logpath=/data/log/mongodb.log* --logRotate reopen --logappend*
--storageEngine mmapv1 &
I am not sure how logRoatte will rotate the log files as i could not find
any parameter which takes size input.
Could you please explain this.
Thanks
Virendra Agarwal
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/430c0089-ddaa-4a75-b4a4-1ba56ae5af71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.