Qpid
  1. Qpid
  2. QPID-3482

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.10
    • Fix Version/s: 0.14
    • Component/s: C++ Broker
    • Labels:
      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.

        Activity

          People

          • Assignee:
            Alan Conway
            Reporter:
            Pavel Moravec
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development