You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Donald Woods (JIRA)" <de...@geronimo.apache.org> on 2006/01/16 00:38:19 UTC
[jira] Created: (GERONIMO-1476) Changes to default
log4j.rootCategory are not dynamic
Changes to default log4j.rootCategory are not dynamic
-----------------------------------------------------
Key: GERONIMO-1476
URL: http://issues.apache.org/jira/browse/GERONIMO-1476
Project: Geronimo
Type: Bug
Components: Logging
Versions: 1.0
Environment: AG 1.0 on WinXP w/ Sun JDK 1.4.2_08
Reporter: Donald Woods
Assigned to: Donald Woods
Fix For: 1.1, 1.0.1
Changes to the log4j.rootCategory value in server-log4j.properties while the server is running has no effect.
If you change the default -
log4j.rootCategory=INFO, CONSOLE, FILE
to
log4j.rootCategory=ALL, CONSOLE, FILE
none of the Log4J loggers are updated to emit the additional log levels of Debug, Trace and All.
Updating the following appender -
log4j.appender.FILE.threshold=INFO
to ALL is dynamic for already set components, so the timer thread to pickup changes to server-log4j.properties is working, but the rootCategory is never updated if changed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-1476) Changes to default
log4j.rootCategory are not dynamic
Posted by "Sachin Patel (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1476?page=all ]
Sachin Patel updated GERONIMO-1476:
-----------------------------------
Assignee: (was: Donald Woods)
Unassigning this so it can be picked up by a committer for inclusion in 1.1.1
> Changes to default log4j.rootCategory are not dynamic
> -----------------------------------------------------
>
> Key: GERONIMO-1476
> URL: http://issues.apache.org/jira/browse/GERONIMO-1476
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Logging
> Affects Versions: 1.0
> Environment: AG 1.0 on WinXP w/ Sun JDK 1.4.2_08
> Reporter: Donald Woods
> Fix For: 1.1.1
>
>
> Changes to the log4j.rootCategory value in server-log4j.properties while the server is running has no effect.
> If you change the default -
> log4j.rootCategory=INFO, CONSOLE, FILE
> to
> log4j.rootCategory=ALL, CONSOLE, FILE
> none of the Log4J loggers are updated to emit the additional log levels of Debug, Trace and All.
> Updating the following appender -
> log4j.appender.FILE.threshold=INFO
> to ALL is dynamic for already set components, so the timer thread to pickup changes to server-log4j.properties is working, but the rootCategory is never updated if changed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-1476) Changes to default
log4j.rootCategory are not dynamic
Posted by "Chris Cardona (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1476?page=comments#action_12425475 ]
Chris Cardona commented on GERONIMO-1476:
-----------------------------------------
Donald,
I wasn't able to replicate this problem. I modified the root logger level from log4j.rootCategory=INFO, CONSOLE, FILE to log4j.rootCategory=ALL, CONSOLE, FILE and it behaved as expected. I saw INFO, WARN, ERROR and FATAL messages logged into the console and DEBUG, INFO, WARN, ERROR and FATAL logged into geronimo.log file. Note that the CONSOLE appender has its threshold set to INFO by default and the FILE appender is set to DEBUG by default. Even though the root logger's level is set to ALL it has no influence on the appenders attached to it. The appender's threshold settings will be followed. Please comment if you think I misunderstood your problem otherwise I suggest that we close this issue. Thanks.
chris
> Changes to default log4j.rootCategory are not dynamic
> -----------------------------------------------------
>
> Key: GERONIMO-1476
> URL: http://issues.apache.org/jira/browse/GERONIMO-1476
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Logging
> Affects Versions: 1.0
> Environment: AG 1.0 on WinXP w/ Sun JDK 1.4.2_08
> Reporter: Donald Woods
> Assigned To: Chris Cardona
> Fix For: 1.1.1
>
>
> Changes to the log4j.rootCategory value in server-log4j.properties while the server is running has no effect.
> If you change the default -
> log4j.rootCategory=INFO, CONSOLE, FILE
> to
> log4j.rootCategory=ALL, CONSOLE, FILE
> none of the Log4J loggers are updated to emit the additional log levels of Debug, Trace and All.
> Updating the following appender -
> log4j.appender.FILE.threshold=INFO
> to ALL is dynamic for already set components, so the timer thread to pickup changes to server-log4j.properties is working, but the rootCategory is never updated if changed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (GERONIMO-1476) Changes to default
log4j.rootCategory are not dynamic
Posted by "Chris Cardona (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1476?page=all ]
Chris Cardona reassigned GERONIMO-1476:
---------------------------------------
Assignee: Chris Cardona
> Changes to default log4j.rootCategory are not dynamic
> -----------------------------------------------------
>
> Key: GERONIMO-1476
> URL: http://issues.apache.org/jira/browse/GERONIMO-1476
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Logging
> Affects Versions: 1.0
> Environment: AG 1.0 on WinXP w/ Sun JDK 1.4.2_08
> Reporter: Donald Woods
> Assigned To: Chris Cardona
> Fix For: 1.1.1
>
>
> Changes to the log4j.rootCategory value in server-log4j.properties while the server is running has no effect.
> If you change the default -
> log4j.rootCategory=INFO, CONSOLE, FILE
> to
> log4j.rootCategory=ALL, CONSOLE, FILE
> none of the Log4J loggers are updated to emit the additional log levels of Debug, Trace and All.
> Updating the following appender -
> log4j.appender.FILE.threshold=INFO
> to ALL is dynamic for already set components, so the timer thread to pickup changes to server-log4j.properties is working, but the rootCategory is never updated if changed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-1476) Changes to default
log4j.rootCategory are not dynamic
Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1476?page=all ]
Matt Hogstrom updated GERONIMO-1476:
------------------------------------
Fix Version: 1.1.1
(was: 1.1)
(was: 1.2)
> Changes to default log4j.rootCategory are not dynamic
> -----------------------------------------------------
>
> Key: GERONIMO-1476
> URL: http://issues.apache.org/jira/browse/GERONIMO-1476
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: Logging
> Versions: 1.0
> Environment: AG 1.0 on WinXP w/ Sun JDK 1.4.2_08
> Reporter: Donald Woods
> Assignee: Donald Woods
> Fix For: 1.1.1
>
> Changes to the log4j.rootCategory value in server-log4j.properties while the server is running has no effect.
> If you change the default -
> log4j.rootCategory=INFO, CONSOLE, FILE
> to
> log4j.rootCategory=ALL, CONSOLE, FILE
> none of the Log4J loggers are updated to emit the additional log levels of Debug, Trace and All.
> Updating the following appender -
> log4j.appender.FILE.threshold=INFO
> to ALL is dynamic for already set components, so the timer thread to pickup changes to server-log4j.properties is working, but the rootCategory is never updated if changed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (GERONIMO-1476) Changes to default
log4j.rootCategory are not dynamic
Posted by "Chris Cardona (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1476?page=all ]
Chris Cardona resolved GERONIMO-1476.
-------------------------------------
Resolution: Cannot Reproduce
I'm closing this issue because it can't be reproduced. Please reopen issue if you think this is really a bug and please give additional info if possible. Tnx.
> Changes to default log4j.rootCategory are not dynamic
> -----------------------------------------------------
>
> Key: GERONIMO-1476
> URL: http://issues.apache.org/jira/browse/GERONIMO-1476
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Logging
> Affects Versions: 1.0
> Environment: AG 1.0 on WinXP w/ Sun JDK 1.4.2_08
> Reporter: Donald Woods
> Assigned To: Chris Cardona
> Fix For: 1.1.1
>
>
> Changes to the log4j.rootCategory value in server-log4j.properties while the server is running has no effect.
> If you change the default -
> log4j.rootCategory=INFO, CONSOLE, FILE
> to
> log4j.rootCategory=ALL, CONSOLE, FILE
> none of the Log4J loggers are updated to emit the additional log levels of Debug, Trace and All.
> Updating the following appender -
> log4j.appender.FILE.threshold=INFO
> to ALL is dynamic for already set components, so the timer thread to pickup changes to server-log4j.properties is working, but the rootCategory is never updated if changed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira