Displaying 2 results from an estimated 2 matches for "rotate_logs".
2008 Mar 07
0
Piping logs to rotatelog
Mongrel clusters lets yuo pick a path to your logs with the "-l "
switch. I tried giving a pathc that contains the rotatelogs like
-l
|/usr/sbin/rotatelogs /var/log/mongrel.log 3600"
And it just gave me error. So I rolledup my sleeves and dig into:
1)
/usr/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/lib/mongrel_cluster/init.rb
2)
2012 Dec 19
3
9-STABLE -> NFS -> NetAPP:
...down except for that *one* jail, with a ps listing looking like:
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 6670 0.0 0.0 9936 1372 ?? DsJ 3:00AM 0:00.01 newsyslog
root 6815 0.0 0.0 9936 1288 ?? DsJ 3:00AM 0:00.01 /usr/sbin/newsyslog -f /usr/local/etc/rotate_logs.cfg
root 8361 0.0 0.1 220740 11400 ?? DsJ 7:33PM 0:01.25 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 8364 0.0 0.0 0 0 ?? ZJ 7:33PM 0:00.00 <defunct>
www 11866 0.0 0.1 318444 16792 ?? TJ 7:36PM 0:00.03 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 11872 0.0 0.1 297964...