How can I update JBoss AS 4.0.5 to TCL filter so that it can support the application log separately .
Any help is appreciated.
"Jboss tclfilter", the first hit:
& lt; Appender name = "app1 log" class = "org.apache.log4j.FileAppender" & gt; & Lt; ErrorHandler class = "org.jboss.logging.util.OnlyOnceErrorHandler" & gt; & Lt; / ErrorHandler & gt; & Lt; Param name = "enclosed" value = "wrong" /> & Lt; Param name = "file" value = "$ {jboss.server.home.dir} /log/app1.log" /> & Lt; Layout class = "org.apache.log4j.PatternLayout" & gt; & Lt; Param name = "ConversionPattern" value = "% d {ABSOLUTE}% -5p [% c {1}]% M% n" /> & Lt; / Layout & gt; & Lt; Filter class = "org.jboss.logging.filter.TCLFilter" & gt; & Lt; Param name = "accept icon" value = "true" /> & Lt; Param name = "deployURL" value = "app1.ear" /> & Lt; / Filter & gt; & Lt; / Appender & gt;
Comments
Post a Comment