I am relatively new to JBOSS. I have to use a custom appender of which I have a jar file available.
For eg.
<appender name="MYLOGGER" class="org.log4j.appender.MyLogAppender">
<param name="File" value="/logs/abc.log"/>
<param name="Threshold" value="DEBUG"/>
...more parameters...
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p %-23d{} [%t] %x: %c{1} - %m%n"/>
</layout>
</appender>
But doing so I get the error
log4j:ERROR Could not create an Appender. Reported error follows.
java.lang.ClassNotFoundException: org.log4j.appender.MyLogAppender
Which file other than jboss-log4j.xml must be configured ?
Where must the jar file be placed in the jboss hierarchy and how must the jboss-log4j.xml be configured to use the appender ?
Thanks.