[Libvir] [PATCH] output virsh log to file

Nobuhiro Itou fj0873gn at aa.jp.fujitsu.com
Tue May 15 08:02:52 UTC 2007


I made the patch which output debug messages and error messages
of virsh to the log file.
I think that it is necessary to leave logs to the file for the
investigation at the failure.
Debug messages can take appointed optional information,
and error messages will make it easy to specify a cause.
Moreover, I'm thinking about outputting virterror information
to the virsh log file by the next step.

It is simple specifications as follows.
 * Destination         -- <USER HOME>/.virsh/virsh.log
 * Log size            -- 1MB(1024*1024)
 * Number of Rotations -- 5
 * There is process exclusion.

First, will you take in this patch ?
And, I have a plan to enhance logging functionality.
(for example, libvirt error logging)

Signed-off-by: Nobuhiro Itou <fj0873gn at aa.jp.fujitsu.com>

Nobuhiro Itou.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virsh_log.patch
Type: application/octet-stream
Size: 8398 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070515/ce39605c/attachment-0001.obj>

More information about the libvir-list mailing list