You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Paulo Avelar <pa...@elm.mt.att.com> on 2004/07/14 00:00:52 UTC

logger per user?

Here is the scenario,

There are many common moludes (class libraries) that uses log4 for logging.
These libraries can be used by many JVMs, each JVM is started by a different
user (unix user).
I'd like to have a separete log file for each user.
For example assume that user1 application calls class1;
user2 application also calls class1, so there should be two log files,
logging stuff for class1.
(user1 has different unix permissions then user2, so user2 cannot see user1
log and vice-versa).

Is there an easy way to have loggers per user? ( if many users are needed, I
don't want to have many configuration files, just one).

Any ideas ?


thanks,

Paul Avelar




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