Re: [libvirt] [PATCH 2/6] Change default log policy to libvirtd.log instead of syslog

2011-03-04 Thread Daniel P. Berrange
On Fri, Mar 04, 2011 at 06:30:53PM +0800, Daniel Veillard wrote: > > Syslog is not the best place to go search for libvirt error > logs, change it to a default file output libvirtd.log, but > still keep standard error if not run as a daemon. > Depending on whether it's run as root or user, the log

Re: [libvirt] [PATCH 2/6] Change default log policy to libvirtd.log instead of syslog

2011-03-04 Thread Daniel Veillard
On Fri, Mar 04, 2011 at 06:30:53PM +0800, Daniel Veillard wrote: > +++ b/daemon/libvirtd.c > @@ -197,6 +197,8 @@ static int audit_logging = 0; > > #define DH_BITS 1024 > > +static int logFD = -1; > + Ah, I though I had that cleaned up, will remove before any commit, or next push, Daniel -

[libvirt] [PATCH 2/6] Change default log policy to libvirtd.log instead of syslog

2011-03-04 Thread Daniel Veillard
Syslog is not the best place to go search for libvirt error logs, change it to a default file output libvirtd.log, but still keep standard error if not run as a daemon. Depending on whether it's run as root or user, the log is saved in the local state dir or in $HOME/.libvirt. * daemon/libvirtd.c: