logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Comer" <bill.co...@lammtara.com>
Subject 2 apps, 2 sets of files, common util classes
Date Thu, 14 Aug 2003 12:34:08 GMT
Hi all,

We have two applications that should be writing to different log files
in different directories.

These applications use a set of common utility classes where the logger
is set up with a statement such as:
   private static Logger logger = Logger.getLogger(Player.class);

The problem we have is that log messages from application 'a' using this
class gets its messages written to both log files for app 'a' and app
'b'.

The two apps are run from separate jar files but we do not want to hard
code the differences in the common util classes.

Any clues on how we can avoid this ?



Regards,
 
Bill Comer
 

Regards,
 
Bill Comer
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003
 


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message