Yes. thats correct. The log files get mixed up for POC-PROCESS and POC-VALIDATION. But i set different file names for them dynamically. For eg: In the case of POC-PROCESS, it will be like : log.poc-process.<datetimestamp> and for POC-VALIDATION, it is like : log.poc-validation.<datetimestamp> WIll the logs still get mixed up?
James Stauffer <[EMAIL PROTECTED]> wrote: Can you send your complete config file? What are the various pScriptName values used? It appears that you are sending everything to both appenders and that is why you get things mixed. On 4/27/06, Vin Karthik wrote: > Here is the logger definition : > > log4j.logger.POC-VALIDATION = DEBUG, POC-VALIDATION, SMTPPOC-VALIDATION > > I do Logger.getLogger(pScriptName) also. But i still do this caching in > addition to it. When i dont specify the log directory for 1 program, it puts > the logs of the program in the other program's log file. This is another > issue which i face. > > James Stauffer wrote: > If you call Logger.getLogger() twice with the same parameter then the > same instance will be returned so there is no need to cache it. > > On 4/27/06, Vin Karthik wrote: > > I do a System set Property for the log file name and create them > > dynamically. I cache the logging instance so that the same program whihc is > > invoking the logger for the same instance the second time. The pScriptName > > variable is the name of the program invoking the logger. > > -- > James Stauffer > Are you good? Take the test at http://www.livingwaters.com/good/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------- > New Yahoo! Messenger with Voice. Call regular phones from your PC and save > big. > -- James Stauffer Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
