<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 10:13 AM, David Kranz
wrote:<br>
</div>
<blockquote cite="mid:52D6C1A0.70800@redhat.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<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>
</blockquote>
David,<br>
<br>
I don't think devstack should be mucking with system config files
including libvirt in the default case. If someone wants to propose
a special case change to handle the gate jobs, that would solve the
gate not having enough log information, as indicated in a followup
thread from Daniel. Since the gate jobs are throw-away VMs, the
problem of polluting developer workstation config files with
devstack changes doesn't exist.<br>
<br>
Regards<br>
-steve<br>
<br>
<blockquote cite="mid:52D6C1A0.70800@redhat.com" type="cite">
-David<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>