DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41487>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41487

           Summary: Warning when configuring inner-class logger
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Configurator
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: [EMAIL PROTECTED]


When I add a logger entry for an inner class to my DOMConfigurator config file 
like this:

<logger name="package.MyClass$MyInnerClass"> 
  <level value="INFO"/>
</logger>

I get the following warnings on the console:

log4j:WARN Continuable parsing error 59 and column 89
log4j:WARN Attribute value "package.MyClass$MyInnerClass" of type ID must be a 
name.

I usually create by Logger classes by the command
log = Logger.getLogger(this.getClass());
and therefore the configured logger do work as expected but every time I start 
my program I get this annoying errors on the console for each logger which is 
configured for an inner class.

(Log4j 1.2.14)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to