rotating logs

This is a discussion on rotating logs within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi I need to rotate a log file but without having a frequency, i.e. I wish to trigger a ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-06-2005
jean-francois
 
Posts: n/a
Default rotating logs

Hi

I need to rotate a log file but without having a frequency, i.e. I
wish to trigger a log rotation ONCE only after some external event; how
can I do this?
renaming the file is one option, however I don't wish to kill and
restart the httpd server. But the way I understand it rotatelogs is
just working when you assign a frequency, so it may be out of phase
with the trigerring event next time.

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:42 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0