Project

General

Profile

Actions

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.

Status:
Closed
Priority:
High
Category:
Application
Target version:
Start date:
Jul 31, 2018
Due date:
% Done:

100%

Estimated time:
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.

Actions #1

Updated by Pasquale Pagano almost 7 years ago

  • Priority changed from Normal to High
Actions #2

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?

Actions #3

Updated by Andrea Dell'Amico almost 7 years ago

Yes, it's smartgears.

Actions #4

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.

Actions #5

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.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)