The cronolog tag has no wiki summary.
4
votes
1answer
153 views
Rotating logs generated by a process that logs to stdin
I have a long running process, that writes its log file to stdout. I would like to save this output to different files, automatically maintain these files (like deleting/archiving the old ones), ...
2
votes
1answer
330 views
Compress logs rotated with cronolog
I have a bunch of servers(Centos 5.x) with Apache that have their logs rotated with cronolog. What is the best strategy for compressing and deleting those logs automatically after a certain time?
...
0
votes
0answers
59 views
Prevent cronolog from splitting/cutting lines?
I'm using cronolog to dump my output into datetime stamped files (after asking here on SF). However cronolog will split a line in the middle and spread one line across multiple files if the input ...
1
vote
2answers
369 views
Cronolog and virtual host logging
So, I've been using cronolog for years with this directive:
<VirtualHost *:80>
SetEnv origin SND
ServerName sandman.net
CustomLog "|/usr/bin/cronolog [..]/logs/SND/log_%Y-%m.txt" combined
...
1
vote
1answer
2k views
How Do I rotate the PHP Error Log?
This is actually a two part question. I've got a LAMP configuration and a web site that relies heavily on the error_log functionality built into PHP. The error log is growing rather large in size.
...
0
votes
1answer
154 views
Does Apache spawn piped logger on each HTTP request?
I am examining a high-volume Apache prefork site and noticing that many log entries such as:
CustomLog '|/foo/bar/cronolog -foo -bar'
RewriteLog '|/foo/bar/cronolog -bar -foo'
When apache logs the ...
8
votes
4answers
3k views