logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <...@qos.ch>
Subject RE: different log files for different users on UNIX
Date Tue, 12 Jun 2001 10:20:12 GMT

Thilo, Steffen,

I strongly discourage you from creating a distinct category for every user. There is a better
way. See my previous mail on the same subject. Ceki 

At 11:03 12.06.2001 +0200, Thilo Schottelius wrote:
>Dear Steffen,
>one solution would be to create a category for every user:
>String user="xyz"
>Then you can add the file appender for this category concerning to the users
>home directory. You may receive the user name from your servlet or via JAVA
> name = System.getProperty("user.name");
>-----Original Message-----
>From: Steffen Schlachter [mailto:Steffen.Schlachter@ctp.com]
>Sent: Dienstag, 12. Juni 2001 10:48
>To: 'log4j-user@jakarta.apache.org'
>Subject: different log files for different users on UNIX
>We are using log4j with Tomcat. We are currently using multiple instances of
>Tomcat on one UNIX box with one properties file. The problem is that we want
>to log the output separately for every user in his own directory. So the
>question is:
>Is there anything like
>where I can specify that the output for logging goes to a user specific
>directory, i.e. $USER being an environment variable on UNIX. (We're
>currently running SunOS.)
>Thanks a lot for you help,
>   Steffen
>To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-user-help@jakarta.apache.org

Ceki Gülcü

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

View raw message