<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Balz<br>
<br>
The class AccessLog itself is also using log4j2 implementation
import org.apache.logging.log4j.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.CATEGORY);<br>
<br>
which is still using log4j1 for the access logging (and hence
configured inside WEB-INF/classes/log4j.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>
<blockquote
cite="mid:CAOXzDSHqRzYD=y9jtezUFchHJc0jkihj3Or7A0bNR+NutL+8-g@mail.gmail.com"
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 class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>