dcsimg
Generating Component specific logs without modifying code
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   meera_meera
Posted On:   Thursday, February 23, 2006 03:18 AM

HI My problem is that i want to generate component specific logfiles. let me explain in detail. i have 3 third party (i dont have access to source code only have .class files(within jars)) components in my application say 1) com.abc.def 2) com.ghi.jkl 3) com.mno.pqr right now they all are logging their messages in to singlefile.the configuration file is simple mylog4j.properties file with rolling file appender and rootlegger set to level debug now how can i configure my property file to get component specific logs. please guide me it urgent,i just gone threw some posts but i dint get    More>>

HI

My problem is that i want to generate component specific logfiles.

let me explain in detail.

i have 3 third party (i dont have access to source code only have .class files(within jars))
components in my application say

1) com.abc.def

2) com.ghi.jkl

3) com.mno.pqr


right now they all are logging their messages in to singlefile.the
configuration file is simple mylog4j.properties file with rolling file
appender and rootlegger set to level debug

now how can i configure my property file to get component specific
logs.

please guide me it urgent,i just gone threw some posts but i dint get
any hint

i saw one solution that define logger as ur package name and set
additivity to false
but how can i define that logger???
please guide me




thanks in advance

   <<Less
About | Sitemap | Contact