Task #12276
closed
To much log data on ckan-bb1.d4science.org
Added by Tommaso Piccioli almost 7 years ago.
Updated almost 7 years ago.
Infrastructure:
Production
Description
Please, reduce the logging data on ckan-bb1.
At the moment TRACE information are logged (duplicated) in both the accounting.log and ghn.log and there are INFO log in the ghn.log.
The logs rotate with a 1 month retention and there are 10 GB of files in /home/gcube/tomcat/logs
Please check the logging level on others ckan server as well.
- Priority changed from Normal to High
accounting.log and ghn.log are not logs belonging to CKAN. Are they of Smartgears?
CKAN's logs are at INFO level and they are defined in the file: /etc/ckan/default/production.ini
## Logging configuration
[loggers]
keys = root, ckan, ckanext
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = WARNING
handlers = console
[logger_ckan]
level = INFO
handlers = console
qualname = ckan
propagate = 0
[logger_ckanext]
level = INFO
handlers = console
qualname = ckanext
propagate = 0
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s
Please, @roberto.cirillo@isti.cnr.it or @lucio.lelii@isti.cnr.it can you investigate and fix this issue?
- Assignee changed from Francesco Mangiacrapa to Roberto Cirillo
I've just changed the logback configuration on ckan-bb1. Now it's needed a container restart, it will be done this evening.
- Status changed from New to Closed
- % Done changed from 0 to 100
the container has been restarted. I'm going to close this ticket.
Also available in: Atom
PDF