Log rotation in mongodb

Log rotation in mongodb
0
#1

I Have perform the log rotation in MongoDB for my nosql data , Please help me with the Code in order to perform log rotation.

Here i have a specific set of Nosql data in my mongodb

0 Likes

#2

I think this command can help u

db.adminCommand( { logRotate : 1 } )

Run this command u will be Able to perform log rotation

0 Likes