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 someone help me.
regards
guru


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2004-04-27 Thread Guruprasanth
hi,
   the link given by u below helps me to set up the application for setting
different log file for diferent error message.For example if i try for error
message iam able to get error message in separate log file.Similarly if i
try for different message iam able to get it.But in the same property file
if i want to printl error,debug and info all together in 3 different
property file iam gtting only one.
what i mean to say is the approach using filters works well for one error
message at a time when i try 3 different message for 3 different log files
it works only for error message.
regards
guru
- Original Message -
From: "Jacob Kjome" <[EMAIL PROTECTED]>
To: "Log4J Users List" <[EMAIL PROTECTED]>
Sent: Monday, April 26, 2004 8:28 PM
Subject: Re: setting separate log files for debug,info and error messges log


> Quoting Guruprasanth <[EMAIL PROTECTED]>:
>
> > 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
>
>
> http://wiki.apache.org/logging-log4j/Log4JProjectPages/LogByLevel
>
>
> Jake
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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