Log Rotation in MongoDB


#1

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


#2

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

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