Thanks for the great turnaround!
One final question then on logging. With logrotate usually a postrotate
sighup on the pidfile will cause the process to then write to the new
logs, but this isn't working either for qpid when running in daemon mode:
compress
/var/log/qpidd.log {
missingok
notifempty
daily
rotate 5
create 0660 awips fxalpha
postrotate
/bin/kill -HUP `cat /awips2/qpid/var/run/qpidd.pid 2>
/dev/null` 2> /dev/null || true
endscript
}
Is there another way to which a sighup can be sent to qpidd to have to
write to the new logfile?
Thanks
On 09/13/2011 08:46 AM, Alan Conway wrote:
On 09/13/2011 08:28 AM, Bradley Scalio wrote:
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?
That's a bug, log-to-syslog=no should disable syslog logging. Can you
raise a JIRA at https://issues.apache.org/jira/secure/Dashboard.jspa
to track this?
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
--
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