Hi,
You need to prefix the logger name with log4j.category. or it won't work.
Or, at least that's how it was back when I used log4j - I'm now using
SLF4J with Logback and I'm not going back. :)
-Filip
Andy Pahne skrev:
I tried to setup Tapestry5 logging to level "info", but all "debug"
messages are still logged. I think I did what the documentation told me
to do
http://tapestry.apache.org/tapestry5/guide/logging.html
Can anybody tell me what I am missing?
from my log4j.xml:
<logger name="org.apache.tapestry5" additivity="false">
<level value="info"/>
<appender-ref ref="LoggingAppender"/>
</logger>
from my log:
2008-08-11 13:08:17,437 DEBUG (ComponentClassTransformerImpl.java:177) -
Finished class transformation: InternalClassTransformation[
public de.net22.oos.b2b.web.pages.secured.packages.NewPackage extends
de.net22.oos.b2b.web.base.BaseB2BPage
extend method: public boolean
dispatchComponentEvent(org.apache.tapestry5.runtime.ComponentEvent $1)
{
if ($1.isAborted()) return $_;
try
{
if ($1.matches("Success", "", 0))
{
$_ = true;
$1.setMethodDescription("de.net22.oos.b2b.web.pages.secured.packages.NewPackage.onSuccess()
(at NewPackage.java:48)");
if ($1.storeResult(($w) onSuccess())) return true;
}
}
catch (RuntimeException ex) { throw ex; }
catch (Exception ex) { throw new RuntimeException(ex); }
}
....
My log4j configuration is read, as all other settings in there are applied.
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]