6
votes
0answers
2k views

Log file rotation and “tail -f”

I use log4j to create rolling log files from my program. It writes to a log file until it reaches 256mb, and then it renames all the log files and creates a new log file and continues logging. It is ...