Hi Mani, Define a logger (or category) in your code, say "perf" that you would use for logging performance info and another logger for the generic logs. In your properties file, define the loggers:
log4j.logger.perf=DEBUG, PERFORMANCE and set its aditivity to false so that you don't get the other logs into this file log4j.logger.perf.additivity=false for the generic logger, you can use the root logger appender or define its own appender same way as for the perf logger above. Regards, Laith --- Kumar_maniranjan <[EMAIL PROTECTED]> wrote: > Wanted to LOG some performance related messages into > one file > PERFORMANCE.LOG and generic logiing to be done into > GENERIC.LOG .... > But not able to do it with one properties file... > > Is there neway ?? > > Rgds, > Mani > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>