multiple log4j.xml file in single application

user60

New Member
I just wanted to know that can i use multiple log4j.xml file in single application if yes then how i will use them.one thing more my application is console based application and i do not want to use sysout so is there any othe way to print message to console screen without using sysout.\[code\]<appender name="console" class="org.apache.log4j.ConsoleAppender"> <param name="Target" value="http://stackoverflow.com/questions/15871927/System.out" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="http://stackoverflow.com/questions/15871927/%-5p - %m%n [%c:%M] (%F:%L)%n" /> </layout></appender>\[/code\]
 
Top