Hi,
I am getting this error while trying to use a custom render.
0 [main] ERROR org.apache.log4j.joran.action.NestComponentIA - No
class name attribute in <renderer>
I am using JoranConfigurator. Code snippet:
>>>
JoranConfigurator logConfigure = new JoranConfigurator();
logConfigure.doConfigure("Log4J.xml", LogManager.getLoggerRepository());
>>>
My settings:
OS : WinXP Prof
Java : 1.5
log4J : log4j-1.3alpha-6
My configuration file has been attached. Config file snippet:
>>>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="true">
<renderer renderedClass="com.test.logging.objects.NormalLogInfo"
renderingClass="com.test.logging.objects.renderer.LogObjectRenderer"
/>
</log4j:configuration>
>>>
All other appenders, logger etc. are configured correctly except for
the renderer.
What am I doing wrong?
Regards,
Aswin Asokan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]