Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5252

[C++ broker] log-enable option ignored in config file when used also in command line

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 0.24
    • Fix Version/s: None
    • Component/s: C++ Broker
    • Labels:

      Description

      Description of problem:
      When specifying "log-enable" option both in command line and in configuration file, the option in command line is silently ignored.

      This is low severity but high priority bug, as it delays customer problem investigation due to troubleshooting why adding the option to config file does not enable the desire logging.

      Version-Release number of selected component (if applicable):
      any (checked on 0.22-19 and 0.18-14)

      How reproducible:
      100%

      Steps to Reproduce:
      echo "log-enable=trace+" > qpidd.conf
      qpidd --config qpidd.conf --log-enable info+ 2>&1 | grep trace

      Actual results:
      no output

      Expected results:
      trace logs like:
      2013-10-23 06:44:00 [Model] trace Mgmt create memory. id:amqp-broker

      to appear

      Additional info:
      moving the option from config.file to command line causes it is applied properly

        Attachments

          Activity

            People

            • Assignee:
              tross Ted Ross
              Reporter:
              pmoravec Pavel Moravec
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: