You can use an XML config file just fine under Tomcat (with caveats... see
below).
I see two issues with your current XML config, though
1. The doctype should be...
2. The path in...
...should be either...
...or...
I mentioned a caveat above about using XML config files in To
You can reference Java system properties using the syntaxt ${somePropertyName},
e.g.,
log4j.appender.A1.File=${log.dir}/stdout.log
You can set Java system properties on the command line using...
java -Dlog.dir=/path/to/log/directory
Jake
On 4/1/2011 1:10 PM, nulll wrote:
>
> Hi,
>
Hi,
I configured my logging with log4j.properties file using a FileAppender.
When I do my local development, I use Tomcat under Windows.
When deploying on managed-environments (sys, acc, prod), I use WebSphere
under Linux.
Since my various environment use dedicated file structure, I'd like to kn