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: [email protected], jabber:[email protected]
------------------------------------------------------------------------
“For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.” Richard Feynman
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to