LogFileSizeIncreasing

Level: Major/Critical

Purpose: Notify operations that a log file on the server has a rapidly growing log line count

Scenario: An error has occurred in an application and is appending the log at a rapid rate, filling up the disk space.

Resolution: Log into the server and check which log file is increasing.

find ~/logs/ -name "*.log" -exec ls -lh {} \;

If the file size is not too large, tail it and note the exception/error that is causing the file increase.

Manual Action Steps: If necessary, truncate the file, do not delete it.

sudo echo > LOG_FILE

Auto Clear: Yes, when the log lines stop increasing