tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44298] New: - Consistent Bad level "DEBUG" error introduced to java.util.logging.Level.parse routine
Date Sat, 26 Jan 2008 15:05:38 GMT
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=44298>.
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=44298

           Summary: Consistent Bad level "DEBUG" error introduced to
                    java.util.logging.Level.parse routine
           Product: Tomcat 6
           Version: 6.0.14
          Platform: All
        OS/Version: Windows 2000
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mgainty@hotmail.com


Handler error
java.lang.IllegalArgumentException: Bad level "DEBUG"
        at java.util.logging.Level.parse(Level.java:336)
        at org.apache.juli.FileHandler.configure(FileHandler.java:205)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:58)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:398)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:342)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:238)
        at java.util.logging.LogManager$2.run(LogManager.java:258)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.j
ava:256)
        at java.util.logging.LogManager.getLogManager(LogManager.java:239)
        at java.util.logging.Logger.<init>(Logger.java:221)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:973)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:970)
        at java.util.logging.LogManager$1.run(LogManager.java:179)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.<clinit>(LogManager.java:156)
        at java.util.logging.Logger.getLogger(Logger.java:274)
        at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:57)
        at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:42)
        at sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstr
ap.java:710)
        at sun.management.Agent.startAgent(Agent.java:135)
        at sun.management.Agent.startAgent(Agent.java:239)
Handler error
java.lang.IllegalArgumentException: Bad level "DEBUG"
        at java.util.logging.Level.parse(Level.java:336)
        at org.apache.juli.FileHandler.configure(FileHandler.java:205)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:58)
        at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:398)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:342)
        at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:238)
        at java.util.logging.LogManager$2.run(LogManager.java:258)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.j
ava:256)
        at java.util.logging.LogManager.getLogManager(LogManager.java:239)
        at java.util.logging.Logger.<init>(Logger.java:221)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:973)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:970)
        at java.util.logging.LogManager$1.run(LogManager.java:179)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.<clinit>(LogManager.java:156)
        at java.util.logging.Logger.getLogger(Logger.java:274)
        at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:57)
        at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:42)
        at sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstr
ap.java:710)
        at sun.management.Agent.startAgent(Agent.java:135)
        at sun.management.Agent.startAgent(Agent.java:239)

$TOMCAT_HOME/conf/logging.properties 
#handlers = 1catalina.org.apache.juli.FileHandler, 
2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 
4admin.org.apache.juli.FileHandler, 5host-manager.org.apache.juli.FileHandler, 
java.util.logging.ConsoleHandler

#.handlers = 1catalina.org.apache.juli.FileHandler, 
java.util.logging.ConsoleHandler
.handlers=java.util.logging.ConsoleHandler

############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

#1catalina.org.apache.juli.FileHandler.level = FINE
#1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
#1catalina.org.apache.juli.FileHandler.prefix = catalina.

#2localhost.org.apache.juli.FileHandler.level = FINE
#2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
#2localhost.org.apache.juli.FileHandler.prefix = localhost.

#3manager.org.apache.juli.FileHandler.level = FINE
#3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
#3manager.org.apache.juli.FileHandler.prefix = manager.

#4admin.org.apache.juli.FileHandler.level = FINE
#4admin.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
#4admin.org.apache.juli.FileHandler.prefix = admin.

#5host-manager.org.apache.juli.FileHandler.level = FINE
#5host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
#5host-manager.org.apache.juli.FileHandler.prefix = host-manager.

java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter


############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################

org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
#org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 
2localhost.org.apache.juli.FileHandler

org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level 
= INFO
#org.apache.catalina.core.ContainerBase.[Catalina].[localhost].
[/manager].handlers = 3manager.org.apache.juli.FileHandler

org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin].level = 
INFO
#org.apache.catalina.core.ContainerBase.[Catalina].[localhost].
[/admin].handlers = 4admin.org.apache.juli.FileHandler

org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-
manager].level = INFO
#org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-
manager].handlers = 5host-manager.org.apache.juli.FileHandler

# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
#org.apache.catalina.startup.ContextConfig.level = FINE
#org.apache.catalina.startup.HostConfig.level = FINE
#org.apache.catalina.session.ManagerBase.level = FINE
#org.apache.catalina.core.AprLifecycleListener.level=FINE

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message