<div dir="ltr">I have also libvirt logs with about 10GB of space, annoying, needs to be fixed.<br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/28 Martin Kletzander <span dir="ltr"><<a href="mailto:mkletzan@redhat.com" target="_blank">mkletzan@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 06/26/2013 07:47 PM, Winfried de Heiden wrote:<br>
> Hi all,<br>
><br>
> Using ovirt-node-iso-2.6.1-20120228.fc18.iso (2012 seems to be a typo,<br>
> must be 2013?) is logging with too much debugging.<br>
><br>
> Changing all the"DEBUG" to "WARNOMG" in /etc/vdsm/logger.conf and<br>
> "persist /etc/vdsm/logger.conf" solved it for /var/log/vdsm/vdsm.log.<br>
><br>
> However, /var/log/libvirtd.log also shows tons of debug messages. The<br>
> file /etc/libvirt/libvirtd.conf shows:<br>
><br>
> listen_addr="0.0.0.0"<br>
> unix_sock_group="kvm"<br>
> unix_sock_rw_perms="0770"<br>
> auth_unix_rw="sasl"<br>
> host_uuid="06304eff-1c91-4e1e-86e2-d773621dcab3"<br>
> log_outputs="1:file:/var/log/libvirtd.log"<br>
> ca_file="/etc/pki/vdsm/certs/cacert.pem"<br>
> cert_file="/etc/pki/vdsm/certs/vdsmcert.pem"<br>
> key_file="/etc/pki/vdsm/keys/vdsmkey.pem"<br>
><br>
> Changing log_outputs="1:file:/var/log/libvirtd.log" to<br>
> "log_outputs="3:file:/var/log/libvirtd.log"<br>
><br>
> with persist (or unpersist first, thn persist) doesn't help. After a<br>
> reboot log_outputs="1:file:/var/log/libvirtd.log" will appear again.<br>
><br>
> How to decrease the log level for libvirtd?<br>
><br>
<br>
</div>Check also log_level and log_filter properties. You can cut down the<br>
logs a lot, but beware that in case something happens... You probably<br>
know. The advantage with using something on top of libvirt (oVirt for<br>
example) is that you will be probably able to reproduce libvirt problems<br>
in case there will be any and then you can switch the debugging back.<br>
<br>
For full options on logging, see <a href="http://libvirt.org/logging.html" target="_blank">http://libvirt.org/logging.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Martin<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>