Actions
Task #248
closedNo mongodb server rotates its logs
Status:
Closed
Priority:
Normal
Assignee:
Category:
System Application
Target version:
Start date:
Jun 11, 2015
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Production
Description
All the mongodb instances never rotate their log files. The production cluster log files are over 1GB on every node.
Updated by Roberto Cirillo almost 10 years ago
- Status changed from New to In Progress
- Assignee set to Roberto Cirillo
I've enabled the log rotation on all the instances in this way:
From the mongo shell, issue the logRotate command from the admin database:
use admin db.runCommand( { logRotate : 1 } )
Updated by Roberto Cirillo almost 10 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Actions