[libvirt] [PATCH] lxc: Change VIR_ERROR to VIR_DEBUG for just a debugging message
Daniel P. Berrange
berrange at redhat.com
Mon Jun 28 10:29:22 UTC 2010
On Sun, Jun 27, 2010 at 03:39:41AM +0900, Ryota Ozaki wrote:
> The message is actually not of error but of debugging.
> 02:22:56.091: error : lxcControllerMain:316 : monitor=3 client=4 appPty=19 contPty=7
> ---
> src/lxc/lxc_controller.c | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c
> index cffef52..44bcc82 100644
> --- a/src/lxc/lxc_controller.c
> +++ b/src/lxc/lxc_controller.c
> @@ -313,7 +313,10 @@ static int lxcControllerMain(int monitor,
> fdArray[0].active = 0;
> fdArray[1].fd = contPty;
> fdArray[1].active = 0;
> - VIR_ERROR(_("monitor=%d client=%d appPty=%d contPty=%d"), monitor,client, appPty, contPty);
> +
> + VIR_DEBUG("monitor=%d client=%d appPty=%d contPty=%d",
> + monitor, client, appPty, contPty);
> +
> /* create the epoll fild descriptor */
> epollFd = epoll_create(2);
> if (0 > epollFd) {
ACK
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list