[ovirt-devel] [Engine] Runtime log controll script

Yaniv Bronheim ybronhei at redhat.com
Tue Apr 18 13:53:49 UTC 2017


Thanks! I would mention it in the main ovirt-engine README file, its basic
usage and very useful.

On Tue, Apr 18, 2017 at 2:41 PM Martin Betak <mbetak at redhat.com> wrote:

> On Tue, Apr 18, 2017 at 9:52 AM, Roy Golan <rgolan at redhat.com> wrote:
>
>> Ever wanted to raise level of the engine logs and wanted to to that fast
>> and runtime?
>>
>> This is a small wrapper around wildfly mgmt interface, called
>> *log-control* to do the trick[1]
>>
>> Example, debug the db interaction layer:
>>
>>     ./log-control org.ovirt.engine.core.dal debug
>>
>> 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.
>>
>> More interesting logger categories:
>>
>> business logic (commands, queries) - org.ovirt.engine.core.bll
>> hosts interaction - org.ovirt.engine.core.vdsbroker
>> various utilities - org.ovirt.engine.core.utils
>> aaa - org.ovirt.engine.exttool.aaa
>>
>> General suggestion -
>> I think is is it time for *ovirt-engine-contrib* so mini-helpers like
>> that can exists and when they are solid can go into mainstream repo, if
>> needed in there.
>>
>
> Nice job, Roy! +1 to the "ovirt-engine-contrib" idea.
>
>
>>
>> [1] https://gist.github.com/rgolangh/1cb9f9b3b7f7f0a1d16b5a976d90bd55
>>
>> Thanks,
>> Roy
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel

-- 
Yaniv Bronhaim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170418/3752fd92/attachment.html>


More information about the Devel mailing list