[CLUE-Tech] solution to old problem (syslog and tail)
Brandon N
bneill at yahoo.com
Sat Feb 10 12:38:04 MST 2001
not sure if this is noteworthy or common practice or not.
I've been rearranging my logfiles recently and came up with a simple
solution to the problem with tail dying of you move the file, or having
to restart syslog if you do.
cp /var/log/messages /var/log/messages.old
cat /dev/null > /var/log/messages
the inode stays the same so syslog is happy, and so is tail
brandon
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
More information about the clue-tech
mailing list