mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
- This is quite useful for debugging even on production machines. - CherryPy can't be used for logging as grafting a WSGI application bypasses the usual mechanisms of logging. - Keep requests for static files turned off in CherryPy as these are not very useful. Tests: - Making a request print an INFO message on the log with method and path after the /freedombox part. Logs can be seen in systemd journal. - Requests for static files are not logged. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>