If you have upgraded the MongoDB Agent to 12.8 or later from 12.7 or earlier, you must manually reinstall your current MongoDB Agent version (12.8+) to enable fatal log file rotation.
For new installations of the MongoDB Agent (12.8+), fatal log file rotation is automatically enabled.
Fatal log file rotation helps to maintain a
automation-agent-fatal.log file by rotating the file on a
regular basis and deleting only the oldest logs.
To reinstall the MongoDB Agent to enable fatal log file rotation, follow the procedure for your distribution: