Task #12276
closedTo much log data on ckan-bb1.d4science.org
100%
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.
Updated by Pasquale Pagano almost 7 years ago
- Priority changed from Normal to High
Updated by Francesco Mangiacrapa almost 7 years ago
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?
Updated by Roberto Cirillo almost 7 years ago
- 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.
Updated by Roberto Cirillo almost 7 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
the container has been restarted. I'm going to close this ticket.