On Tue, May 15, 2007 at 05:15:04PM +0100, Daniel P. Berrange wrote:
On Tue, May 15, 2007 at 05:09:56PM +0100, Mark McLoughlin wrote:
> On Tue, 2007-05-15 at 17:04 +0100, Daniel P. Berrange wrote:
>
> > For every VM we start it will create a logfile
> >
> > /etc/libvirt/qemu/logs/[vmname].log
>
> Why not /var/log? /etc/ isn't the place for this kind of stuff, surely.
True - though we'd have to code different behaviour when running as an
unprivileged user. Shouldn't complicate things too much i guess.
Attached a new version which does this. If using qemu:///system they get
put into /var/log/libvirt/qemu, while if using qemu://session they go into
$HOME/.libvirt/qemu/log
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules:
http://search.cpan.org/~danberr/ -=|
|=- Projects:
http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|