Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1189

"log" configuration is missing "module" attribute

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.5.0
    • Component/s: Documentation
    • Labels:

      Description

      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

      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' 
      
      

        Attachments

          Activity

            People

            • Assignee:
              tross Ted Ross
              Reporter:
              ctron Jens Reimann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: