biosemantics / servers

Issues about servers maintained or used by the project
0 stars 0 forks source link

log rotation services for jetty #9

Open ramorrismorris opened 9 years ago

ramorrismorris commented 9 years ago

In Ubuntu 14.04, the native jetty installation expects in etc/init.d/jetty a rotation application ROTATELOGS= /usr/sbin/rotatelogs which in turn is(?) a symlink to /usr/bin/rotatelogs. Take care not to set this to /usr/bin/sbin/logrotate, which does not have the same arguments. It is unclear which, if either, of these apps tries to restart jetty, which would be (?) bad for etcsite. For now, consider this a bug.

See also http://serverfault.com/questions/120429/what-are-pros-and-cons-of-logrotate-vs-rotatelogs-with-apache