On Sat, May 10, 2003 at 11:04:33AM +1000, Chris Kenrick wrote: > Hi, > > Running a mostly woody system, with a few assorted self built and > testing/unstable packages. Problem is that when I'm doing a tail -f of > a file (eg /var/log/mail.log), sometimes the screen stops updating, even > though the file is being written to. If I Ctrl-C and restart the tail > it behaves as expected (possibly stopping again later). logrotate rotates your logs at ~6am every day. Since the log file is basically moved to /var/log/blah.log.0 and no one logs to it anymore (they reopen /var/log/blah and log to that), tail doesn't get any more updates. I'm sure there's a tool somewhere which can handle this, but I've not seen it... -- Rob Weir <rweir@ertius.org> http://www.ertius.org/ GPG keys: 1024D/1E73B7CD, 4096R/3ABDE5EC | Do I look like I want a CC? Words of the day: Adriatic Comirex Leuken-Baden SSL illuminati airframe
Attachment:
pgpmsV9YbOWjM.pgp
Description: PGP signature