Docs Home → MongoDB Ops Manager
Update Agent to Enable Fatal Log Rotation
For MongoDB Agent versions below 12.0.21, you must reinstall the MongoDB Agent to enable fatal log file rotation.
If you have upgraded the MongoDB Agent to 12.0.21 or later from 12.0.20 or earlier, you must manually reinstall your current MongoDB Agent version (12.0.21+) to enable fatal log file rotation.
For new installations of the MongoDB Agent (12.0.21+), fatal log file rotation is automatically enabled.
Note
Fatal log file rotation helps to maintain a
useful automation-agent-fatal.log
file by rotating the file on a
regular basis and deleting only the oldest logs.
Reinstall the MongoDB Agent
To reinstall the MongoDB Agent to enable fatal log file rotation, follow the procedure for your distribution: