On Tue, Apr 18, 2017 at 9:52 AM, Roy Golan <[email protected]> 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
> [email protected]
> http://lists.ovirt.org/mailman/listinfo/devel
>
_______________________________________________
Devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/devel

Reply via email to