Displaying 2 results from an estimated 2 matches for "rotate_log".
Did you mean:
rotate_logs
2008 Mar 07
0
Piping logs to rotatelog
...file))
# log "!!! Log file directory not found at full path
#{File.dirname(logfile)}. Update your configuration to use a full
path."
# exit 1
# end
#end
lati_logfile = "|/home/admin/rotatelogs " + logfile + " 15"
rotate_log = File.popen(lati_logfile,"w")
#Daemonize.daemonize(logfile)
Daemonize.daemonize(rotate_log)
Is this EVEN feasiable ?
--
Posted via http://www.ruby-forum.com/.
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...