
Hi Sven, AFAIK there following logging configuration files in ovirt-engine: 1) /etc/ovirt-engine/notifier/log4j.xml - for ovirt-engine-notifier service 2) /etc/ovirt-engine/engine-manage-domains/log4j.xml - for engine-manage-domains tool 3) /etc/ovirt-engine/engine-config/log4j.xml - for engine-config tool 4) /usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.xml.in - for ovirt-engine service (webadmin & userportal) 1), 2) and 3) are standard log4j config files. 4) is JBoss deployment configuration which includes logging section. Martin Perina ----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: users@ovirt.org Sent: Wednesday, March 19, 2014 6:16:42 PM Subject: Re: [Users] centralized Logging engine and hypervisor
Well I found some old devel mail regarding this topic:
http://lists.ovirt.org/pipermail/engine-devel/2011-November/000122.html
is there another log4j.xml beside /etc/ovirt-engine/engine-config/log4j.xml ?
I didn't find one which manages the engine.log
Is this hard coded?
Am 19.03.2014 17:12, schrieb Sven Kieske:
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-applic... http://help.papertrailapp.com/discussions/questions/86-how-to-make-jboss-log...
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?
-- Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users