I have a file "a.log" that when it gets to 1MB, renames to "a.log.1" The new files is created to continue loggin called "a.log".
I want to send the out put of "a.log" to a log file on a nfs mounted directory in real time. The "tail -f" command will work up until the file reaches 1MB and renames itself. The "tail" command stops working at this point.
How can I get it to ouput the files contents after the 1MB limit is reached?
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.