tail and the rolling log
August 7, 2006 3:07 PM
Subscribe
Is there a tail-like program for rolling logfiles?
I have a server process which produces a file server.log, which I use "tail -f server.log" to view as it's being written. Unfortunately for me, the program eventually rolls the current server.log file over to a server.log.mmddyy naming scheme, and starts a new server.log. There is no trailer written to the logfile before the rollover occurs, so I can sometimes end up wasting time looking at a stale tail, thinking my process is running slowly, when it's just moved on to another log file. Does anyone know of a smarter tail-like program that could handle this issue?
posted by nomisxid to technology (2 comments total)
posted by jimw at 3:14 PM on August 7, 2006