On Monday, August 25, 2003 at 2:50:25 PM, Shapira, Yoav wrote:
>>initialization servlet that goes through the log4j.properties file
>>making all the file locations be relative to my web app directory. The
>>code is listed below.
SY> Consider putting this code in a ServletContextListener's
SY> c
I think there is an easier way. You can use log4j's variable
substitution mechanism:
All option values admit variable substitution. The syntax of variable
substitution is similar to that of Unix shells. The string between an
opening "${" and closing "}" is interpreted as a key. The value of the
sub
Howdy,
>initialization servlet that goes through the log4j.properties file
>making all the file locations be relative to my web app directory. The
>code is listed below.
Consider putting this code in a ServletContextListener's
contextInitialized() method, instead of a servlet's init() method, a