-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce logging or number of stored logs #8
Comments
The excess of hisparc.log-wsgi logs is caused by wsgi_app#L107. We could also solve this by running a cron job which removes old files, similar to the cron job on the publicdb to remove old .h5 files downloaded using |
Something like: |
Rotating logfiles can (should?) be handled by That would be much easier to manage in the future. |
Yes, well... In the future, we should use something more manageable like uWSGI instead of Apache. Then everything can end up in one log, with pid in the log message. uWSGI can also automatically rotate logs, I believe. |
frome now has log level set to DEBUG for the writer and uwsgi processes. With the new PySPARC stations that upload every event individually this causes a lot of extra log messages. We should set the log level to INFO. Or, alternatively, instead of reducing the log level, reduce the number of logs kept by the TimedRotatingFileHandler..
Recently frome was having issues accepting new events due to a full partition, caused by the large logs..
The text was updated successfully, but these errors were encountered: