Steffen,
Log4j configurators support variable substitution. Such that
user=foo
log4j.appender.A1.file=/export/home/${user}/logfile.log
will be expanded to
log4j.appender.A1.file=/export/home/foo/logfile.log
Similarly, the system property "user" will be expanded. Let me know if this does not
solve the problem. Ceki
At 09:48 12.06.2001 +0100, Steffen Schlachter wrote:
>Hi!
>
>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
>
>log4j.appender.A1.File=/export/home/$USER/logfile.log
>
>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
>
--
Ceki Gülcü
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]