<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Dňa 19.03.2014 17:12, Sven Kieske wrote
      / napísal(a):<br>
    </div>
    <blockquote cite="mid:5329C1AB.1000909@mittwald.de" type="cite">
      <pre wrap="">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?

<a class="moz-txt-link-freetext" href="https://blog.trifork.com/2010/01/14/logging-to-the-syslog-from-a-java-application/">https://blog.trifork.com/2010/01/14/logging-to-the-syslog-from-a-java-application/</a>
<a class="moz-txt-link-freetext" href="http://help.papertrailapp.com/discussions/questions/86-how-to-make-jboss-log-to-syslog">http://help.papertrailapp.com/discussions/questions/86-how-to-make-jboss-log-to-syslog</a>

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?

</pre>
    </blockquote>
    <br>
    Don't forget to backup the file, it's not marked as a config, so a
    new update will replace it :)<br>
    <br>
    $ rpm -q --qf '[%{filenames}: %{fileflags}\n]' -f
    /etc/ovirt-engine/engine-config/log4j.xml | grep log4j.xml<br>
    /etc/ovirt-engine/engine-config/log4j.xml: 0<br>
    /etc/ovirt-engine/engine-manage-domains/log4j.xml: 0<br>
    /etc/ovirt-engine/notifier/log4j.xml: 1<br>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <div id="oernii_footer" style="color: gray;">
        <span style="font-family: Lucida Console, Luxi Mono, Courier,
          monospace; font-size: 90%;">
          Ernest Beinrohr, AXON PRO<br>
          <a style="text-decoration: none; color: gray;"
            href="http://www.beinrohr.sk/ing.php">Ing</a>, <a
            style="text-decoration: none; color: gray;"
            href="http://www.beinrohr.sk/rhce.php">RHCE</a>, <a
            style="text-decoration: none; color: gray;"
            href="http://www.beinrohr.sk/rhce.php">RHCVA</a>, <a
            style="text-decoration: none; color: gray;"
            href="http://www.beinrohr.sk/lpic.php">LPIC</a>, <a
            style="text-decoration: none; color: gray;"
            href="http://www.beinrohr.sk/vca.php">VCA</a>, <a
            style="text-decoration: none; color: gray;"
            href="callto://+421-2--6241-0360">+421-2--6241-0360</a>, <a
            style="text-decoration: none; color: gray;"
            href="callto://+421-903--482-603">+421-903--482-603</a><br>
          icq:28153343, gtalk: <a class="moz-txt-link-abbreviated" href="mailto:oernii@axonpro.sk">oernii@axonpro.sk</a>,
          <a class="moz-txt-link-abbreviated" href="mailto:jabber:oernii@jabber.org">jabber:oernii@jabber.org</a>
          <br>
        </span>
        <hr style="height: 1px; width: 95%"> <span style="font-size:
          70%;">
          “For a successful technology, reality must take precedence
          over public relations, for Nature cannot be fooled.” Richard
          Feynman </span> </div>
    </div>
    <img
      src="http://nojsstats.appspot.com/UA-44497096-1/email.beinrohr.sk"
      moz-do-not-send="true" border="0" height="1" width="1">
  </body>
</html>