Log Rotation in MongoDB

I think this command can help u

db.adminCommand( { logRotate : 1 } )

Run this command u will be Able to perform log rotation

Comments

  • I think this command can help u

    db.adminCommand( { logRotate : 1 } )

    Run this command u will be Able to perform log rotation

Sign In or Register to comment.