[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Logging to both files and syslog?



El vie., 15 nov. 2019 a las 15:41, Jose Caballero
(<jcaballero.hep@xxxxxxxxx>) escribiÃ:
>
> Hi
>
> is it possible to send some daemon logs to both a file and syslog?
>
> Documentation about syslog says:
>         "LOG_TO_SYSLOG: A boolean [...] When True, all daemon logs are
> routed to the syslog facility on Linux."
>
> But, from that explanation, it is unclear to me the behavior when
> having LOG_TO_SYSLOG=True and also <XYZ>_LOG=/path/to/file at the same
> time.
> Will the log messages be sent to both the file and the syslog?
> Or syslog setup overrides the local file one?
>
> Thanks,
> Jose

I guess no one has ever tried. I may try on one node, and provide feedback.

Jose