James Richard Tyrer wrote: > Anne Wilson wrote: >> On Thursday 05 March 2009 17:33:54 James Richard Tyrer wrote: >>> James Richard Tyrer wrote: >>>> However, you do need to rotate the log. Just drop a script into: >>>> >>>> /etc/logrotate.d >>>> >>>> I think that the attached is correct, but read the find man page for: >>>> "logrotate". >>> correction. >> <quote> >> /home/jrt/.xsession-errors { >> rotate 1 >> daily >> } >> </quote> >> >> Interesting. Does logrotate have a default number of rotations? >> > I don't see any indication in the man page. I thought it was '0' which > would mean that it would just delete the file and not save a copy. > Now I remember. I tried this before and it didn't work. I'm not sure that I understand why but it appears that X11 keeps writing to the old file. So, I will put figuring this out on my to do list. -- JRT Linux (mostly) From Scratch ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.