Bug 1184523
Summary: | [abrt] fedmsg-hub: config.py:627:configure:ValueError: Unable to configure logger 'fedmsg': Unable to add handler 'filelog': 'filelog' | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Valeri Rangelov <rangelov310> | ||||||||
Component: | fedmsg | Assignee: | Ralph Bean <rbean> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | rawhide | CC: | lmacken, rbean | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Unspecified | ||||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/afc5be2e94d8db0f1e45b60bb4045586cc8fd58c | ||||||||||
Whiteboard: | abrt_hash:4a517f946d8490324e24ef2963014820d48cd64c | ||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2015-01-21 19:02:39 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Valeri Rangelov
2015-01-21 15:39:18 UTC
Created attachment 982376 [details]
File: backtrace
Created attachment 982377 [details]
File: dso_list
Created attachment 982378 [details]
File: environ
Can you attach the entire contents of your /etc/fedmsg.d/logging.py file? (In reply to Ralph Bean from comment #4) > Can you attach the entire contents of your /etc/fedmsg.d/logging.py file? bare_format = "[%(asctime)s][%(name)10s %(levelname)7s] %(message)s" config = dict( logging=dict( version=1, formatters=dict( bare={ "datefmt": "%Y-%m-%d %H:%M:%S", "format": bare_format }, ), handlers=dict( console={ "class": "logging.StreamHandler", "formatter": "bare", "level": "INFO", "stream": "ext://sys.stdout", } filelog={ "class": "logging.handlers.RotatingFileHandler", "formatter": "bare", "level": "INFO", "filename": "/var/log/fedmsg/taskotron-trigger.log", "mode": "a", } ), loggers=dict( fedmsg={ "level": "INFO", "propagate": False, "handlers": ["filelog"], }, moksha={ "level": "INFO", "propagate": False, "handlers": ["console"], }, ), ), ) Looks like you need a comma after the closing brace before filelog. Like this: "stream": "ext://sys.stdout", }, filelog={ "class": "logging.handlers.RotatingFileHandler", That resolve the problem. Thank you. Glad to help. :) |