[rsyslog] HUP action
Rainer Gerhards
rgerhards at hq.adiscon.com
Mon Oct 6 17:47:46 CEST 2008
Args... thanks Michael, this makes life a little less easy ;) So we do
not longer have a clear indication.
Would it make sense to require that the main config file is touched when
something in the includes is changed? This could be documented. And a
restart of course pulls everything.
Rainer
> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of Michael Biebl
> Sent: Monday, October 06, 2008 5:46 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] HUP action
>
> 2008/10/6 <david at lang.hm>:
> > On Mon, 6 Oct 2008, Rainer Gerhards wrote:
> >
> >>> could you do something along the lines of checking to see if the
> >> config
> >>> file changed, and if so do a full restart, otherwise just the
> >>> flush/close?
> >>>
> >>> if you know when you started you may be able to just check the
> >>> last-modified time of the config file and do a restart if it's
been
> >>> modified after you started.
> >>
> >> That's a very interesting idea. Do you think this criterion is
> >> sufficient?
>
> Don't forget $IncludeConfig
>
> Michael
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
More information about the rsyslog
mailing list