<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Apr 18, 2017 at 6:04 PM Greg Sheremeta &lt;<a href="mailto:gshereme@redhat.com">gshereme@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 18, 2017 at 7:40 AM, Martin Betak <span dir="ltr">&lt;<a href="mailto:mbetak@redhat.com" target="_blank">mbetak@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, Apr 18, 2017 at 9:52 AM, Roy Golan <span dir="ltr">&lt;<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Ever wanted to raise level of the engine logs and wanted to to that fast and runtime?<br><br></div>This is a small wrapper around wildfly mgmt interface, called <b>log-control</b> to do the trick[1]<br><br></div><div>Example, debug the db interaction layer:<br><br></div>    ./log-control org.ovirt.engine.core.dal debug<br><br></div>It will first try blantly to add the log category and then will set the log level according to what you set. It is simple and stupid.<br></div><div><br>More interesting logger categories:<br><br></div>business logic (commands, queries) - org.ovirt.engine.core.bll<br></div>hosts interaction - org.ovirt.engine.core.vdsbroker<br></div>various utilities - org.ovirt.engine.core.utils<br></div>aaa - org.ovirt.engine.exttool.aaa<br><br></div><div>General suggestion -<br></div><div>I think is is it time for <b>ovirt-engine-contrib</b> so mini-helpers like that can exists and when they are solid can go into mainstream repo, if needed in there.<br></div></div></blockquote><div><br></div></span><div>Nice job, Roy! +1 to the &quot;ovirt-engine-contrib&quot; idea.</div></div></div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>+1 [aside -- suggest adding engine build aliases, git aliases, shell functions for building / maintaining multiple engine compilations and databases, etc.]</div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div></div></div></div></blockquote><div><br></div><div>Exactly. Should it be a &#39;contrib&#39; folder under the repo and then later we can create an rpm out of it if we want?<br><br>Btw VDSM has a contrib folder as well with interesting stuff (just stumbled upon profile-stats which I was completely unaware of)<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div dir="ltr"><div></div><div><br>[1] <a href="https://gist.github.com/rgolangh/1cb9f9b3b7f7f0a1d16b5a976d90bd55" target="_blank">https://gist.github.com/rgolangh/1cb9f9b3b7f7f0a1d16b5a976d90bd55</a><br><br></div><div>Thanks,<br></div><div>Roy<br></div><br></div>
<br></span>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br></blockquote></div></div></div><div dir="ltr"><div class="gmail_extra"><br><br clear="all"><div><br></div>-- <br><div class="m_828575343156596190gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Greg Sheremeta, MBA<br><span style="font-size:12.8px">Sr. Software Engineer</span><br></div><div>Red Hat, Inc.<br><a href="mailto:gshereme@redhat.com" target="_blank">gshereme@redhat.com</a><br></div></div></div></div></div>
</div></div></blockquote></div></div>