creating my own level

2004-04-28 Thread Guruprasanth
hi, i want to create my own level for my application.I went to the site and implemented it.http://wiki.apache.org/logging-log4j/Log4JProjectPages/TraceLevel.But my req is i need to use log4j.xml.How do i put log4j.rootLogger=trace#com.tarangtech.eia.TraceLevel,MAIN, STDERR it in xml file.Can

setting separate log files for debug,info and error messges log

2004-04-26 Thread Guruprasanth
hi, i need to have a separate log files for error,info and debug for my application.how do i set it in property file of log4j regards guru