Limit size of lighttpd error log

Lighttpd is configured to create error log in /var/log/lighttpd/error.log. This just grows and logs every error lighttpd encounters. It is possible that it eats whole /tmp when some web service starts periodically failing.

  • We should limit line duplicates somehow (possibly by sending log trough syslog?)
  • Logrotate should be configured for this log
Edited by Josef Schlehofer