You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ted Ross (JIRA)" <ji...@apache.org> on 2018/12/18 18:12:00 UTC

[jira] [Resolved] (DISPATCH-1189) "log" configuration is missing "module" attribute

     [ https://issues.apache.org/jira/browse/DISPATCH-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross resolved DISPATCH-1189.
--------------------------------
    Resolution: Fixed

> "log" configuration is missing "module" attribute
> -------------------------------------------------
>
>                 Key: DISPATCH-1189
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1189
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.4.1
>            Reporter: Jens Reimann
>            Assignee: Ted Ross
>            Priority: Major
>              Labels: documentation
>             Fix For: 1.5.0
>
>
> The current documentation of the "log" section [1] says nothing about a "module" attribute. However not putting in a "module" attribute makes the router fail to startup (see below).
> It would also be helpful to understand which logging modules exist. Adding a link to [2] may be helpful.
> [1] https://qpid.apache.org/releases/qpid-dispatch-1.4.1/man/qdrouterd.conf.html#_log
> [2] https://qpid.apache.org/releases/qpid-dispatch-1.4.1/user-guide/index.html#logging-modules-you-can-configure
> {noformat}
> 2018-11-20 09:30:27.126887 +0000 ERROR (error) Python: Exception: Cannot load configuration file /etc/config/qdrouterd.conf: org.apache.qpid.dispatch.log: Missing required attribute 'module'
> 2018-11-20 09:30:27.127260 +0000 ERROR (error) Traceback (most recent call last):
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 169, in configure_dispatch
>     config = Config(filename)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 56, in __init__
>     % (filename, e))
> Exception: Cannot load configuration file /etc/config/qdrouterd.conf: org.apache.qpid.dispatch.log: Missing required attribute 'module'
> 2018-11-20 09:30:27.127319 +0000 MAIN (critical) Router start-up failed: Python: Exception: Cannot load configuration file /etc/config/qdrouterd.conf: org.apache.qpid.dispatch.log: Missing required attribute 'module'
> /sbin/qdrouterd: Python: Exception: Cannot load configuration file /etc/config/qdrouterd.conf: org.apache.qpid.dispatch.log: Missing required attribute 'module' 
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org