tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Vlasov <vigo...@mail.ru>
Subject set juli logging directory?
Date Fri, 02 Nov 2007 14:02:24 GMT

Hello

I have working logging enviroment. For one of my logger i have

1karakas.org.apache.juli.FileHandler.directory = ${catalina.base}/logs

and  it writes to tomcat "logs" directory.

The problem is that i want to write log to the subdirectory of my web
application.
for example:
.
..
web
  |-WEB-INF
  |-jsp
  |-logs <- to this directory
  |-html
  ........ 

I can make a system property "aaa" that point to "web" directory and write 

1karakas.org.apache.juli.FileHandler.directory = ${aaa}/logs


How can I avoid making this property and point a juli logger handler to
web\logs directory?
Like that or another way...
1karakas.org.apache.juli.FileHandler.directory = {WEB_APP_ROOT}/logs


-- 
View this message in context: http://www.nabble.com/set-juli-logging-directory--tf4737613.html#a13548227
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message