<div dir="ltr">Hi Michael,<div><br></div><div>that helped. Thanks! </div><div>you might remember that our realm has been logging its own line into the access log since the beginning (also for each request with all the metadata needed). Since I upgraded, that extra line has disappeared. So I had to find a solution to bring it back into the access log.</div><div>Now things are solved! I looked at AccessLog instead of YanelServlet :-) Maybe you should comment the line of code in AccessLog so that others are not irritated too...</div><div><br></div><div>Cheers, Balz</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 9, 2016 at 9:16 AM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com" target="_blank">michael.wechner@wyona.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hi Balz<br>
      <br>
      The class AccessLog itself is also using log4j2 implementation
      import org.apache.logging.log4j.<wbr>LogManager<br>
      <br>
      but this is not used for the actual access logging
      (logs/access-cnode1.log), but "internal" issues.<br>
      <br>
      The access logging is setup inside YanelServlet<br>
      <br>
      private static Logger logAccess =
      Logger.getLogger(AccessLog.<wbr>CATEGORY);<br>
      <br>
      which is still using log4j1 for the access logging (and hence
      configured inside WEB-INF/classes/log4j.<wbr>properties), which I think
      should actually be changed to log4j2 eventually.<br>
      <br>
      What exactly are you trying to achieve?<br>
      <br>
      Thanks<br>
      <br>
      Michael<br>
      <br>
      Am 09.09.16 um 07:48 schrieb basZero:<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>question: yanel mainly upgraded to Log4j version 2, except
          for the Access Logging (AccessLog.java). Is there any other
          special configuration besides log4j.properties and log4j2.xml
          that makes it possible that AccessLog.java can log via the old
          log4j version into the Access Logfile?</div>
        <div><br>
        </div>
        <div>I'm not able to make other classes to log into the access
          log too, everything goes into the regular log4j2-cnode1 file
          via log4j v2...</div>
        <div><br>
        </div>
        <div>Any tips?</div>
        <div><br>
        </div>
        <div>Cheers, Balz</div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
    </blockquote>
    <br>
  </div></div></div>

<br>--<br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
<a href="http://mx2.wyona.com/cgi-bin/mailman/listinfo/yanel-development" rel="noreferrer" target="_blank">http://mx2.wyona.com/cgi-bin/<wbr>mailman/listinfo/yanel-<wbr>development</a><br></blockquote></div><br></div>