Differences between version 4 and previous revision of LogRotateNotes.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Wednesday, September 10, 2003 11:54:17 pm | by CraigBox | Revert |
Older page: | version 3 | Last edited on Wednesday, September 10, 2003 11:54:06 pm | by CraigBox | Revert |
@@ -23,6 +23,6 @@
Oh, and this is all assuming that you are using syslog(3) to do your logging. If /var/log/logfilename is manually opened by whatever app you are using,
I dont know how logrotate will handle it, if at all. you may need to use the postrotate keyword in your logrotate file to trigger a -HUP to your app, or even restart it (icky).
----
+--
---
If you do not specify a value for the rotate parameter it defaults to 0 (ie. it doesn't rotate any logs, just deletes the old one straight away)