
yeah, I'll try :) 2014-03-20 20:16 GMT+08:00 Sven Kieske <S.Kieske@mittwald.de>:
First: Thanks for the fast answer!
Second: I decided that this is a much too painful hack into ovirt regarding maintainability, thus I will let ovirt log into files like it does already and pipe those into syslog.
But it would be cool if you could work towards integrating this feature into ovirt in the future, maybe for 3.5 or 4.0.
So I created an RFE at:
https://bugzilla.redhat.com/show_bug.cgi?id=1078738
I think many large data centers could use this feature as most people tend to have centralized logging already.
Am 20.03.2014 12:14, schrieb plysan:
2014-03-20 18:26 GMT+08:00 Sven Kieske <S.Kieske@mittwald.de>:
Am 20.03.2014 11:04, schrieb Martin Perina:
I didn't try it, but some info can be found in this thread:
http://stackoverflow.com/questions/10400263/jboss-as-7-configure-logging-to-...
Thanks for the link, for documentation purposes, I'll post my findings here to, so if someone needs this in the future, feel free to use it:
Here is a custom implemented syslog handler for jboss 7.1:
http://randomtekkstuff.blogspot.de/2013/03/jboss-as-7-syslog-handler.html
I will test this out, once I found the jboss module directory..
I think the runtime directory is in /usr/share/ovirt-engine/modules, after ps aux |grep ovirt
In the meantime:
Would ovirt-devs consider it save to "sideload" my own jboss module?
I know this will get painful to maintain once I want to upgrade so I'm already asking:
Is there a chance as a first step to include a custom syslog handler jboss module into ovirt (for jboss < 7.2) ?
I think oVirt uses jboss-modules-maven-plugin to create a module, If you want to create one, the syslog handler in your case, you may create a subproject containing the java code and tweak some of the pom.xml adding the jboss-modules-maven-plugin config, as the other modules do.
Later this could get expanded to easily allow to use syslog..
-- 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