No, with a config file change you need to do a full restart.

Rsyslog loads modules as part of it's config processing, and that part doesn't work well when trying to do a 'quick' restart.

In the past, Rsyslog would do a complete shutdown/restart on a HUP, but that would take long enough that in a high volume logging environment it would loose a significant amount of logs in the process, so it was changed so that a HUP only closes outputs instead. For a couple major releases this was an optional behavior, then it was changed to be the default behavior.

David Lang


On Thu, 31 Oct 2013, Fred Maillou wrote:

Date: Thu, 31 Oct 2013 11:41:07 -0700 (PDT)
From: Fred Maillou <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [rsyslog] Using HUP for config file changes

Hi !

  Is it possible to send a HUP once the config file is modified to have a 
config file reload ?

Thanks !

Fred.
_______________________________________________
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.
_______________________________________________
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