Re: [libvirt] [PATCH v2 08/20] virlog: Take a special care of syslog when setting new set of log outputs

2016-09-21 Thread John Ferlan
On 08/18/2016 07:47 AM, Erik Skultety wrote: > Now that we're in the critical section, syslog connection can be re-opened > by issuing openlog, which is something that cannot be done beforehand, since > syslog keeps its file descriptor private and changing the tag earlier might > introduce a log

[libvirt] [PATCH v2 08/20] virlog: Take a special care of syslog when setting new set of log outputs

2016-08-18 Thread Erik Skultety
Now that we're in the critical section, syslog connection can be re-opened by issuing openlog, which is something that cannot be done beforehand, since syslog keeps its file descriptor private and changing the tag earlier might introduce a log inconsistency if something went wrong with preparing a