Displaying 1 result from an estimated 1 matches for "port_log_file".
2008 Mar 07
0
Piping logs to rotatelog
...my sleeves and dig into:
1)
/usr/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/lib/mongrel_cluster/init.rb
2) /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb
I tried to re-built the log file name so on "1)" if passes and ARGV
like:
##exec_cmd +=" -l #{port_log_file(port)}"
exec_cmd +=" -l |/home/admin/rotatelogs #{port_log_file(port)}
30"
but I get this:
starting port 3001
mongrel_rails start -d -e production -p 3001 -P log/silvex.3001.pid -l
|/home/admin/rotatelogs /var/log/my_mongrel3300.3001.log 30
ERROR RUNNING ''mongrel::st...