David,
Rsyslog does start up but it stops after some time. I used the 2 lines in 
/etc/rsyslog.conf 
$DebugFile '/var/log/rsyslog/LOCALHOST.LOCALDOMAIN/rsyslog.log'
$DebugLevel 1

And did  kill -USR1 $(cat /var/run/syslogd.pid)
I don't see any entries in /var/log/rsyslog/LOCALHOST.LOCALDOMAIN/rsyslog.log
Even though rsyslog stopped during that time
Thanks
Mike
-----Original Message-----
From: David Lang <[email protected]> 
Sent: Friday, August 16, 2019 2:00 PM
To: Li, Mike <[email protected]>
Cc: David Lang <[email protected]>; Li, Mike via rsyslog <[email protected]>
Subject: RE: [rsyslog] rsyslog-8.1904.0-1.el6.x86_64 stopped and not starting up

EXTERNAL: Verify sender before opening attachments or links.

> Then issue kill -USR1 $(cat /var/run/rsyslogd.pid) to enable the logging?
> What is the command to stop the logging? Service rsyslog restart ?

USR1 is a toggle, send it once to turn the logging on, and again to turn it off.

Since you are not starting up, in this case, a debug log from -dn on the 
command line will probably be better than trying to send it a signal after it 
starts

Dvaid Lang

Confidentiality Notice::  This email, including attachments, may include 
non-public, proprietary, confidential or legally privileged information.  If 
you are not an intended recipient or an authorized agent of an intended 
recipient, you are hereby notified that any dissemination, distribution or 
copying of the information contained in or transmitted with this e-mail is 
unauthorized and strictly prohibited.  If you have received this email in 
error, please notify the sender by replying to this message and permanently 
delete this e-mail, its attachments, and any copies of it immediately.  You 
should not retain, copy or use this e-mail or any attachment for any purpose, 
nor disclose all or any part of the contents to any other person. Thank you.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to