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

Unable to switch off logging to syslog when qpidd runs as daemon

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.10
    • 0.14
    • C++ Broker
    • None

    Description

      When qpidd runs as daemon, it is impossible to switch off its logging to syslog:

      qpidd --log-to-syslog no --log-to-file /tmp/qpidd.txt -d

      causes logs go to syslog, while:

      qpidd --log-to-syslog no --log-to-file /tmp/qpidd.txt

      doesn't log to syslog.

      I think the issue is caused by -d flag overriding log-to-syslog option:

      Daemon options:
      -d [ --daemon ] Run as a daemon. Logs to syslog by default in
      this mode.

      Attachments

        Activity

          People

            aconway Alan Conway
            pmoravec Pavel Moravec
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: