[ovirt-devel] [Engine] Runtime log controll script
Roy Golan
rgolan at redhat.com
Tue Apr 18 07:52:36 UTC 2017
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.
[1] https://gist.github.com/rgolangh/1cb9f9b3b7f7f0a1d16b5a976d90bd55
Thanks,
Roy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170418/70733ea8/attachment.html>
More information about the Devel
mailing list