<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/15/2014 11:56 AM, Steven Dake
wrote:<br>
</div>
<blockquote cite="mid:52D6BDDA.5010806@redhat.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi,<br>
<br>
Ken'ichi Omichi submitted a change [1] in devstack to change the
default log level to 1 for libvirt. This results in continual
spam to /var/log/messages in my development system, even after
exiting devstack. The spam looks like:<br>
"<br>
Jan 14 08:13:49 bigiron libvirtd: 2014-01-14 15:13:49.334+0000:
1480: debug : virFileClose:90 : Closed fd 8<br>
Jan 14 08:13:49 bigiron libvirtd: 2014-01-14 15:13:49.334+0000:
1480: debug : virFileClose:90 : Closed fd 9<br>
Jan 14 08:13:49 bigiron libvirtd: 2014-01-14 15:13:49.334+0000:
1480: debug : virFileClose:90 : Closed fd 10<br>
Jan 14 08:13:49 bigiron libvirtd: 2014-01-14 15:13:49.334+0000:
1480: debug : virFileClose:90 : Closed fd 11<br>
"<br>
in a continual loop<br>
<br>
I submitted a change [2] that sets the default to level 2 (info +
warnings + errors) which was -1'ed by Sean Dague. His suggestion
was to take the discussion upstream so consensus around what the
default should be can be made so this doesn't end up getting
changed every week.<br>
<br>
The core mission of devstack is to provide a development
environment for developers. The fact that it is being used in the
gate seems somewhat ancillary to it's mission, and forcing a
default of "spam the system logs with tons of libvirt messages"
seems counter to the core mission of devstack. As is, without
modification devstack makes looking at anything useful in my
system logs impossible without grep -v libvirt and is intrusive to
developer's workstations.<br>
<br>
[1]
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a moz-do-not-send="true"
href="https://review.openstack.org/#/c/63992/">
https://review.openstack.org/#/c/63992/</a><br>
[2] <a moz-do-not-send="true"
href="https://review.openstack.org/#/c/66630/">https://review.openstack.org/#/c/66630/</a><br>
</blockquote>
Why not just make this a shell variable/localrc option that defaults
to the original and have the gate jobs set it to debug?<br>
<br>
-David<br>
<br>
</body>
</html>