Hello, I can confirm the below. It occurs when qpidd runs as a daemon: 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. I have already created https://issues.apache.org/jira/browse/QPID-3482 for it, I suppose potential fix can be quite easy. Kind regards, Pavel Moravec GSS SEG Red Hat ----- Original Message ----- > From: "Bradley Scalio" <brad.sca...@noaa.gov> > To: users@qpid.apache.org > Sent: Tuesday, September 13, 2011 2:28:14 PM > Subject: Logging > Greetings, > > Trying to turn off logging to /var/log/messages and send qpidd logging > to /var/log/qpidd.log > > I tried the following in our qpidd.conf: > > sed -i '$a log-to-file=/var/log/qpidd.log' qpidd.conf > sed -i '$a log-to-syslog=no' qpidd.conf > > I get logging to /var/log/qpidd.log but I still am receiving > duplicates > to /var/log/messages. > > I know there are ample log sink options and variations, and have > tested > a few to no avail, including syslog-name=qpidd.log > > Is there a basic setup to not log to syslog? > > thanks > > > > > -- > Bradley M Scalio, RHCE RHCSS > > Principal Engineer w/Honors > AWIPS Mission Assurance > Mission Operations& Services > Raytheon Company > > > (o) +301-495-2277 > (c) +301-830-0207 > (f) +301-713-1950 --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscr...@qpid.apache.org