You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "viewhero (JIRA)" <de...@geronimo.apache.org> on 2006/01/06 09:51:21 UTC
[jira] Created: (GERONIMO-1423) log4j.properties's category is ignored
log4j.properties's category is ignored
--------------------------------------
Key: GERONIMO-1423
URL: http://issues.apache.org/jira/browse/GERONIMO-1423
Project: Geronimo
Type: Bug
Versions: 1.0
Environment: JRE 1.5.0_06, Linux
Reporter: viewhero
Priority: Critical
log4j.properties that is included war file's WEB-INF/classes.
like this.
-------------------------------------------------------------------------------------------------------------------------------------------
log4j.rootCategory=ERROR, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] (%F:%L) - %m%n
log4j.category.jp.ne.xxx=ERROR
-------------------------------------------------------------------------------------------------------------------------------------------
but, INFO message wrote to geronimo.log.
geronimo must read log4j.properties each web applications.
--
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-1423) log4j.properties's category is
ignored
Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1423?page=all ]
Aaron Mulder updated GERONIMO-1423:
-----------------------------------
Component: Logging
Fix Version: 1.0.1
I believe this is by design -- I think the logging GBean may override the log levels. However, I'm not 100% sure whether it overrides the root, or the appenders, or what, so I don't want to close this issue without confirming that.
> log4j.properties's category is ignored
> --------------------------------------
>
> Key: GERONIMO-1423
> URL: http://issues.apache.org/jira/browse/GERONIMO-1423
> Project: Geronimo
> Type: Bug
> Components: Logging
> Versions: 1.0
> Environment: JRE 1.5.0_06, Linux
> Reporter: viewhero
> Priority: Critical
> Fix For: 1.0.1
>
> log4j.properties that is included war file's WEB-INF/classes.
> like this.
> -------------------------------------------------------------------------------------------------------------------------------------------
> log4j.rootCategory=ERROR, A1
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
> log4j.appender.A1.layout=org.apache.log4j.PatternLayout
> log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] (%F:%L) - %m%n
> log4j.category.jp.ne.xxx=ERROR
> -------------------------------------------------------------------------------------------------------------------------------------------
> but, INFO message was written to geronimo.log.
> geronimo must read log4j.properties each web applications.
--
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] Closed: (GERONIMO-1423) log4j.properties's category is
ignored
Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dillon closed GERONIMO-1423.
----------------------------------
Resolution: Invalid
Fix Version/s: (was: Verification Required)
Stale
> log4j.properties's category is ignored
> --------------------------------------
>
> Key: GERONIMO-1423
> URL: https://issues.apache.org/jira/browse/GERONIMO-1423
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Logging
> Affects Versions: 1.0
> Environment: JRE 1.5.0_06, Linux
> Reporter: viewhero
> Priority: Critical
>
> log4j.properties that is included war file's WEB-INF/classes.
> like this.
> -------------------------------------------------------------------------------------------------------------------------------------------
> log4j.rootCategory=ERROR, A1
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
> log4j.appender.A1.layout=org.apache.log4j.PatternLayout
> log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] (%F:%L) - %m%n
> log4j.category.jp.ne.xxx=ERROR
> -------------------------------------------------------------------------------------------------------------------------------------------
> but, INFO message was written to geronimo.log.
> geronimo must read log4j.properties each web applications.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-1423) log4j.properties's category is ignored
Posted by "viewhero (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1423?page=all ]
viewhero updated GERONIMO-1423:
-------------------------------
Description:
log4j.properties that is included war file's WEB-INF/classes.
like this.
-------------------------------------------------------------------------------------------------------------------------------------------
log4j.rootCategory=ERROR, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] (%F:%L) - %m%n
log4j.category.jp.ne.xxx=ERROR
-------------------------------------------------------------------------------------------------------------------------------------------
but, INFO message was written to geronimo.log.
geronimo must read log4j.properties each web applications.
was:
log4j.properties that is included war file's WEB-INF/classes.
like this.
-------------------------------------------------------------------------------------------------------------------------------------------
log4j.rootCategory=ERROR, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] (%F:%L) - %m%n
log4j.category.jp.ne.xxx=ERROR
-------------------------------------------------------------------------------------------------------------------------------------------
but, INFO message wrote to geronimo.log.
geronimo must read log4j.properties each web applications.
> log4j.properties's category is ignored
> --------------------------------------
>
> Key: GERONIMO-1423
> URL: http://issues.apache.org/jira/browse/GERONIMO-1423
> Project: Geronimo
> Type: Bug
> Versions: 1.0
> Environment: JRE 1.5.0_06, Linux
> Reporter: viewhero
> Priority: Critical
>
> log4j.properties that is included war file's WEB-INF/classes.
> like this.
> -------------------------------------------------------------------------------------------------------------------------------------------
> log4j.rootCategory=ERROR, A1
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
> log4j.appender.A1.layout=org.apache.log4j.PatternLayout
> log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] (%F:%L) - %m%n
> log4j.category.jp.ne.xxx=ERROR
> -------------------------------------------------------------------------------------------------------------------------------------------
> but, INFO message was written to geronimo.log.
> geronimo must read log4j.properties each web applications.
--
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-1423) log4j.properties's category is
ignored
Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1423?page=comments#action_12362135 ]
Aaron Mulder commented on GERONIMO-1423:
----------------------------------------
However, at a minimum, you need to either:
1) change the log configuration in var/log/server-log4j.properties instead of trying to use a properties file in WEB-INF/classes
or
2) add <hidden-classes>org.apache.log4j</hidden-classes> to the deployment plan for your WAR or EAR to force your web application to use it's own Log4J settings and ignore the system-wide Log4j configuration.
> log4j.properties's category is ignored
> --------------------------------------
>
> Key: GERONIMO-1423
> URL: http://issues.apache.org/jira/browse/GERONIMO-1423
> Project: Geronimo
> Type: Bug
> Components: Logging
> Versions: 1.0
> Environment: JRE 1.5.0_06, Linux
> Reporter: viewhero
> Priority: Critical
> Fix For: 1.0.1
>
> log4j.properties that is included war file's WEB-INF/classes.
> like this.
> -------------------------------------------------------------------------------------------------------------------------------------------
> log4j.rootCategory=ERROR, A1
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
> log4j.appender.A1.layout=org.apache.log4j.PatternLayout
> log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] (%F:%L) - %m%n
> log4j.category.jp.ne.xxx=ERROR
> -------------------------------------------------------------------------------------------------------------------------------------------
> but, INFO message was written to geronimo.log.
> geronimo must read log4j.properties each web applications.
--
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-1423) log4j.properties's category is
ignored
Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1423?page=all ]
Matt Hogstrom updated GERONIMO-1423:
------------------------------------
Fix Version: Verification Required
(was: 1.1)
> log4j.properties's category is ignored
> --------------------------------------
>
> Key: GERONIMO-1423
> URL: http://issues.apache.org/jira/browse/GERONIMO-1423
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: Logging
> Versions: 1.0
> Environment: JRE 1.5.0_06, Linux
> Reporter: viewhero
> Priority: Critical
> Fix For: Verification Required
>
> log4j.properties that is included war file's WEB-INF/classes.
> like this.
> -------------------------------------------------------------------------------------------------------------------------------------------
> log4j.rootCategory=ERROR, A1
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
> log4j.appender.A1.layout=org.apache.log4j.PatternLayout
> log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] (%F:%L) - %m%n
> log4j.category.jp.ne.xxx=ERROR
> -------------------------------------------------------------------------------------------------------------------------------------------
> but, INFO message was written to geronimo.log.
> geronimo must read log4j.properties each web applications.
--
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