Log Rotation in MongoDB

Anyone please explain me How to Perform log rotation in Mongodb’s nosql data , i dont the exact command required for the actual process .

Please try the Following command to perform Log Rotation in mongodb’s Nosql data

Command : db.adminCommand( { logRotate : 1 } )

1 Like