[Users] centralized Logging engine and hypervisor
Ernest Beinrohr
Ernest.Beinrohr at axonpro.sk
Thu Mar 20 09:05:39 UTC 2014
Dňa 19.03.2014 17:12, Sven Kieske wrote / napísal(a):
> Hi,
>
> I got a question regarding centralized logging:
>
> I guess in order to make the engine log to /dev/log
>
> I have to manipulate /etc/ovirt-engine/engine-config/log4j.xml ?
>
> I think these tutorials might fit somehow?
>
> https://blog.trifork.com/2010/01/14/logging-to-the-syslog-from-a-java-application/
> http://help.papertrailapp.com/discussions/questions/86-how-to-make-jboss-log-to-syslog
>
> for vdsm I'll just have to change:
>
> /etc/vdsm/svdsm.logger.conf and /etc/vdsm/logger.conf
>
> to:
>
> handlers=syslog
>
> Am I on the right track for the engine-log?
>
Don't forget to backup the file, it's not marked as a config, so a new
update will replace it :)
$ rpm -q --qf '[%{filenames}: %{fileflags}\n]' -f
/etc/ovirt-engine/engine-config/log4j.xml | grep log4j.xml
/etc/ovirt-engine/engine-config/log4j.xml: 0
/etc/ovirt-engine/engine-manage-domains/log4j.xml: 0
/etc/ovirt-engine/notifier/log4j.xml: 1
--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE
<http://www.beinrohr.sk/rhce.php>, RHCVA
<http://www.beinrohr.sk/rhce.php>, LPIC
<http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>,
+421-2--6241-0360 <callto://+421-2--6241-0360>, +421-903--482-603
<callto://+421-903--482-603>
icq:28153343, gtalk: oernii at axonpro.sk, jabber:oernii at jabber.org
------------------------------------------------------------------------
“For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled.” Richard Feynman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140320/f60d0b18/attachment-0001.html>
More information about the Users
mailing list