logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject DOMConfigurator balking on logger name with brackets and slashes
Date Fri, 12 Nov 2004 06:33:54 GMT

Hi everyone,

I'm trying to configure a context log logger for Tomcat-5.5.4.

The docs say...
A context is associated with the 
org.apache.catalina.core.ContainerBase.[enginename].[hostname].[path] log 
category. Note that the brackets are actually part of the name, don't omit 

I've tried this...

I've even tried escaping everything like this (note, the escape for the 
forward slash, '&#8260;', shows up as '?' in this case, which is somewhat 
beside the point, but I thought I'd mention it) ...

In both cases, I get the following message from Log4j...

log4j:ERROR Parsing error on line 32 and column 116
log4j:ERROR Attribute value 
of type ID must be a name.

Is this simply an unfortunate naming scheme by the Tomcat team (the use of 
square brackets and the slash for the path) of which the DOMConfigurator 
(or XML parsers in general) can't deal with, or am I missing something?


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

View raw message