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

"log" configuration is missing "module" attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.1
    • 1.5.0
    • Documentation

    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

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

            Dates

              Created:
              Updated:
              Resolved: