[Pkg-libvirt-maintainers] Bug#625288: Disable harmful second timestamp (or make optional).

trentbuck at gmail.com trentbuck at gmail.com
Fri May 6 00:54:14 UTC 2011


Guido Günther wrote:
>> Please remove, or at least make optional, these timestamps.  This is analogous to these smb.conf options:
>
> 	https://bugzilla.redhat.com/show_bug.cgi?id=702114
>
> Has some discussion about this.

Thanks.

daniel> Starting with 0.9.0 libvirtd doesn't log to syslog by default
daniel> but to /var/log/libvirt/libvirtd.log , then that file is
daniel> logrotated.  Having the full timestamp can be crucial when
daniel> debugging some issues.  We could optionally turn it off, but I
daniel> wonder if the new behaviour isn't a better fix to the problem.

I don't mind if libvirt does its own logging by default, and inserts
its own timestamps there.  But IMO there SHOULD be an option to use
syslog(3) and rely on syslog's internal timestamping ability, because
I already have centralized logging and reporting infrastructure built
around syslog, and every daemon that tries to be "helpful" by
reinventing that means more effort for me to workaround that.

PS: posting here instead of bugzilla because "you need to log in
before you can comment", and ICBF creating an account on every BTS I
come across.





More information about the Pkg-libvirt-maintainers mailing list