On Thu, 2 Nov 1995, Naved A Surve wrote: > > tail -500 logfile > tmp > > mv tmp logfile > This actually doesn't work on a 'live' syslog file because Circle holds the > log file open. After doing this operation on a live syslog the file Agree. > not the newly created one. That aside, doing something like this to your > log file defeats the purpose of having it. How do you know you didn't just > trim something important? If this is your maintenance plan, you may as well > do something like 'bin/circle 2> /dev/null &' and get rid of the syslog > completely. He wanted the logs to occupy less space. If I have the choice between the last 500 lines or nothing at all, I go for the 500. Gekke Eekhoorn of BUG.
This archive was generated by hypermail 2b30 : 12/07/00 PST