Yes, it is a typo. Should be: "I need two full log files for foo.bar.XY and com.create.CR with all the logs information from test.bulk.ZY"
Yes the foo.bar.XY and com.create.CR are run in different threads. I want two logs files - one for foo.bar.XY and the second one for com.create.CR. All of them should have all the calls made in test.bulk.ZY (treat it as utility class) "Do you want the logs of test.bulk.ZY which were called by foo.bar.XY in the log file of foo.bar.XY and the logs of test.bulk.ZY which were called by com.create.CR in the log file of com.create.CR"? Yes. the foo.bar.XY and com.create.CR has some logging messages as well that needs to go to the right log file. Thanks for helping me with it. M. Bender Heri wrote: > > Questions see inline. > Heri > >> -----Original Message----- >> From: Camer38 [mailto:[EMAIL PROTECTED] >> Sent: Monday, July 07, 2008 3:24 PM >> To: log4j-user@logging.apache.org >> Subject: RE: "additivity" attribute does not work for >> user-defined logger but works for root logger. >> >> >> But in my case I hit slightly different problem. >> The class foo.bar.XY calls lets say test.bulk.ZY and the >> class com.create.CR calls test.bulk.ZY as well. > > Do this two classes (foo.bar.XY and com.create.CR) run in different > threads? Or is it the same thread? -> Influences possible solutions! > >> >> I need two full log files for foo.bar.XY and test.bulk.ZY >> with all the logs information from test.bulk.ZY. > > Does not make any sense for me. Is it a typo? ("test.bulk.ZY" in first > line should be "com.create.CR"?). If so, then next question: Do you want > the logs of test.bulk.ZY which were called by foo.bar.XY in the log file > of foo.bar and the logs of test.bulk.ZY which were called by > com.create.CR in the log file of com.create.CR? > Otherwise you have to explain more detailled which log calls you want to > appear in which appender. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/%22additivity%22-attribute-does-not-work-for-user-defined-logger-but-works-for-root-logger.-tp18259092p18319243.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]