|
jforum example source code file (log4j.xml)
The jforum log4j.xml source code<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'> <appender name="jforum-stdout" class="org.apache.log4j.ConsoleAppender"> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %5p [%-20c{1}] %m%n"/> </layout> </appender> <appender name="jforum.log" class="org.apache.log4j.RollingFileAppender"> <param name="MaxFileSize" value="1024KB"/> <param name="MaxBackupIndex" value="4"/> <param name="File" value="/tmp/jforum.log"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%-c{1}] - %m%n"/> </layout> </appender> <category name="org.jgroups"> <priority value="info"/> <appender-ref ref="jforum-stdout"/> </category> <category name="org.jboss"> <priority value="info"/> <appender-ref ref="jforum-stdout"/> </category> <category name="net.jforum"> <priority value="info" /> <appender-ref ref="jforum-stdout" /> </category> <category name="freemarker"> <priority value="info"/> <appender-ref ref="jforum-stdout"/> </category> <category name="com.mchange"> <priority value="info" /> <appender-ref ref="jforum-stdout" /> </category> </log4j:configuration> Other jforum examples (source code examples)Here is a short list of links related to this jforum log4j.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.