Logging levels

2003-10-18 Thread Sullivan, Sean C - MWT

Logging levels

Jakarta Log4j 1.2.8
===
 
 http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/Level.html

 class: org.apache.log4j.Level

 FATAL
 ERROR
 WARN
 INFO
 DEBUG

JBoss 3.2.2
===

 http://www.jboss.org/

 class:  org.jboss.logging.XLevel (extends org.apache.log4j.Level)

 FATAL
 ERROR
 WARN
 INFO
 DEBUG
 TRACE

BEA Weblogic Server 8.1
===

 http://edocs.bea.com/wls/docs81/javadocs/weblogic/logging/Severities.html

 class: weblogic.logging.Severities

 ALERT
 CRITICAL
 DEBUG
 EMERGENCY
 ERROR
 INFO
 NOTICE
 WARNING

 http://edocs.bea.com/wls/docs81/javadocs/weblogic/logging/WLLevel.html

 class: weblogic.logging.WLLevel (extends java.util.logging.Level)

 ALERT
 CRITICAL
 DEBUG
 EMERGENCY
 ERROR
 INFO
 NOTICE
 WARNING

Jakarta Commons Logging 1.0.3
=

 http://jakarta.apache.org/commons/logging/apidocs/index.html

 fatal
 error
 warn
 info
 debug
 trace

Apache Geronimo
===

 http://incubator.apache.org/projects/geronimo.html

 class: org.apache.geronimo.common.log.log4j.XLevel (extends
org.apache.log4j.Level)

 FATAL
 ERROR
 WARN
 INFO
 DEBUG
 TRACE


java.util.logging  (J2SE 1.4.2)
===

 http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/Level.html

 class: java.util.logging.Level

 SEVERE
 WARNING
 INFO
 CONFIG
 FINE
 FINER
 FINEST

Avalon LogKit 1.2
=

 http://avalon.apache.org/logkit/api/org/apache/log/Priority.html

 class: org.apache.log.Priority

 FATAL_ERROR
 ERROR
 WARN
 INFO
 DEBUG

Jakarta Slide 1.0.16


 
http://jakarta.apache.org/slide/javadoc/org/apache/slide/util/logger/Logger.
html

 interface: org.apache.slide.util.logger.Logger

 EMERGENCY
 CRITICAL
 ERROR
 WARNING
 INFO
 DEBUG

Acelet SuperLogging
===

 http://acelet.com/super/help/api/com/acelet/logging/Logging.html

 SEVERE
 WARNING
 INFO
 CONFIG
 FINE
 FINER
 FINEST

ObjectGuy Java Logging Framework


 http://www.theobjectguy.com/javalog/

 debug
 info
 status
 warning
 error
 critical
 fatal

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



Re: Logging levels

2003-10-18 Thread Jacob Kjome
Thanks,

It was nice of you to put that comparison together.  However, did you have 
a particular point you were trying to make?  There have been lots of 
discussions on the list about how many/few levels are appropriate.  Have 
you perused those already?  Do you have an opinion in regard to what levels 
Log4j should or should not have?

Jake

At 02:32 PM 10/18/2003 -0700, you wrote:

Logging levels

Jakarta Log4j 1.2.8
===
 http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/Level.html

 class: org.apache.log4j.Level

 FATAL
 ERROR
 WARN
 INFO
 DEBUG
JBoss 3.2.2
===
 http://www.jboss.org/

 class:  org.jboss.logging.XLevel (extends org.apache.log4j.Level)

 FATAL
 ERROR
 WARN
 INFO
 DEBUG
 TRACE
BEA Weblogic Server 8.1
===
 http://edocs.bea.com/wls/docs81/javadocs/weblogic/logging/Severities.html

 class: weblogic.logging.Severities

 ALERT
 CRITICAL
 DEBUG
 EMERGENCY
 ERROR
 INFO
 NOTICE
 WARNING
 http://edocs.bea.com/wls/docs81/javadocs/weblogic/logging/WLLevel.html

 class: weblogic.logging.WLLevel (extends java.util.logging.Level)

 ALERT
 CRITICAL
 DEBUG
 EMERGENCY
 ERROR
 INFO
 NOTICE
 WARNING
Jakarta Commons Logging 1.0.3
=
 http://jakarta.apache.org/commons/logging/apidocs/index.html

 fatal
 error
 warn
 info
 debug
 trace
Apache Geronimo
===
 http://incubator.apache.org/projects/geronimo.html

 class: org.apache.geronimo.common.log.log4j.XLevel (extends
org.apache.log4j.Level)
 FATAL
 ERROR
 WARN
 INFO
 DEBUG
 TRACE
java.util.logging  (J2SE 1.4.2)
===
 http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/Level.html

 class: java.util.logging.Level

 SEVERE
 WARNING
 INFO
 CONFIG
 FINE
 FINER
 FINEST
Avalon LogKit 1.2
=
 http://avalon.apache.org/logkit/api/org/apache/log/Priority.html

 class: org.apache.log.Priority

 FATAL_ERROR
 ERROR
 WARN
 INFO
 DEBUG
Jakarta Slide 1.0.16

http://jakarta.apache.org/slide/javadoc/org/apache/slide/util/logger/Logger.
html
 interface: org.apache.slide.util.logger.Logger

 EMERGENCY
 CRITICAL
 ERROR
 WARNING
 INFO
 DEBUG
Acelet SuperLogging
===
 http://acelet.com/super/help/api/com/acelet/logging/Logging.html

 SEVERE
 WARNING
 INFO
 CONFIG
 FINE
 FINER
 FINEST
ObjectGuy Java Logging Framework

 http://www.theobjectguy.com/javalog/

 debug
 info
 status
 warning
 error
 critical
 fatal
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


Re: java.lang.VerifyError: ...do any one have an idea

2003-10-18 Thread Scott Kidder
What Servlet container are you using?  There may be a version of Log4j
at the container level that is conflicting with the Log4j jar you've got
bundled with your app in WEB-INF/lib.  If so, you may want to replace
one or the other so they have matching versions, worth trying.

Here's the description for java.lang.VerifyError from the Java SDK 1.3.1
API:

Thrown when the verifier detects that a class file, though well
formed, contains some sort of internal inconsistency or security
problem.

-- 
+-+
| Scott Kidder ([EMAIL PROTECTED]) |
| http://orbital.homeip.net/  |
| Software Engineer   |
| Independent Contractor, Santa Cruz, CA  |
+-+

On Sat, 2003-10-18 at 21:38, Sandeep wrote:
 iam getting this error when trying to run a jsp do any one have idea 
 
 
 java.lang.VerifyError: org/apache/log4j/LogManager
   at org.apache.log4j.Logger.getLogger(java.lang.String)
 (Logger.java:85) (pc 1)
 -
 
 
 
 
 jsp code 
 
 %!
 
// Logger logger=Logger.getLogger(com.foo);
 private static Logger log = Logger.getRootLogger();
 %
 
 
 
 TIA 
 
 
 
 
 Note
 
 
 This email including any attachments is intended solely for the use of named
 recipient only.If you are not that person, you are not authorized to
 read,copy,forward,disclose,take any action on information.Any other use of
 this email and attachments is prohibited.The views expressed in this email
 are not necessarily those of BMA.If you received this email by mistake,
 please destroy all copies and contact  to the sender by email.your
 cooperation is appreciated.
 
 
 *
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: java.lang.VerifyError: ...do any one have an idea

2003-10-18 Thread Sandeep
Hi  Scott,

Thanks for answer . and i know u r correct as i also found same  iam
using 9ias which has oc4j ... container 
 i have log4j jar file with my application WEb-INF/lib  ...  
it works well on windows but when web application deployed on unix it is
giving this error ...
that to i found that ...there is a copy of log 4j jar of older version ... 
let me try now to remove one of it .. 


TIA





Note


This email including any attachments is intended solely for the use of named
recipient only.If you are not that person, you are not authorized to
read,copy,forward,disclose,take any action on information.Any other use of
this email and attachments is prohibited.The views expressed in this email
are not necessarily those of BMA.If you received this email by mistake,
please destroy all copies and contact  to the sender by email.your
cooperation is appreciated.


*



-Original Message-
From: Scott Kidder [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 19, 2003 7:57 AM
To: Log4J Users List
Subject: Re: java.lang.VerifyError: ...do any one have an idea


What Servlet container are you using?  There may be a version of Log4j
at the container level that is conflicting with the Log4j jar you've got
bundled with your app in WEB-INF/lib.  If so, you may want to replace
one or the other so they have matching versions, worth trying.

Here's the description for java.lang.VerifyError from the Java SDK 1.3.1
API:

Thrown when the verifier detects that a class file, though well
formed, contains some sort of internal inconsistency or security
problem.

-- 
+-+
| Scott Kidder ([EMAIL PROTECTED]) |
| http://orbital.homeip.net/  |
| Software Engineer   |
| Independent Contractor, Santa Cruz, CA  |
+-+

On Sat, 2003-10-18 at 21:38, Sandeep wrote:
 iam getting this error when trying to run a jsp do any one have idea 
 
 
 java.lang.VerifyError: org/apache/log4j/LogManager
   at org.apache.log4j.Logger.getLogger(java.lang.String)
 (Logger.java:85) (pc 1)
 -
 
 
 
 
 jsp code 
 
 %!
 
// Logger logger=Logger.getLogger(com.foo);
 private static Logger log = Logger.getRootLogger();
 %
 
 
 
 TIA 
 
 
 
 
 Note
 
 
 This email including any attachments is intended solely for the use of
named
 recipient only.If you are not that person, you are not authorized to
 read,copy,forward,disclose,take any action on information.Any other use of
 this email and attachments is prohibited.The views expressed in this email
 are not necessarily those of BMA.If you received this email by mistake,
 please destroy all copies and contact  to the sender by email.your
 cooperation is appreciated.
 


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


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

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



RE: java.lang.VerifyError: ...do any one have an idea

2003-10-18 Thread Sandeep
Hi ,

When i removed log4j jar file from my WEB-INF/lib ... i am getting this
error ...
that mean application is not able to find classes . 


java.lang.NoClassDefFoundError: org/apache/log4j/Logger


what can be the problem now 


TIA 

Note


This email including any attachments is intended solely for the use of named
recipient only.If you are not that person, you are not authorized to
read,copy,forward,disclose,take any action on information.Any other use of
this email and attachments is prohibited.The views expressed in this email
are not necessarily those of BMA.If you received this email by mistake,
please destroy all copies and contact  to the sender by email.your
cooperation is appreciated.


*



-Original Message-
From: Sandeep 
Sent: Sunday, October 19, 2003 8:07 AM
To: 'Log4J Users List'
Subject: RE: java.lang.VerifyError: ...do any one have an idea


Hi  Scott,

Thanks for answer . and i know u r correct as i also found same  iam
using 9ias which has oc4j ... container 
 i have log4j jar file with my application WEb-INF/lib  ...  
it works well on windows but when web application deployed on unix it is
giving this error ...
that to i found that ...there is a copy of log 4j jar of older version ... 
let me try now to remove one of it .. 


TIA





Note


This email including any attachments is intended solely for the use of named
recipient only.If you are not that person, you are not authorized to
read,copy,forward,disclose,take any action on information.Any other use of
this email and attachments is prohibited.The views expressed in this email
are not necessarily those of BMA.If you received this email by mistake,
please destroy all copies and contact  to the sender by email.your
cooperation is appreciated.


*



-Original Message-
From: Scott Kidder [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 19, 2003 7:57 AM
To: Log4J Users List
Subject: Re: java.lang.VerifyError: ...do any one have an idea


What Servlet container are you using?  There may be a version of Log4j
at the container level that is conflicting with the Log4j jar you've got
bundled with your app in WEB-INF/lib.  If so, you may want to replace
one or the other so they have matching versions, worth trying.

Here's the description for java.lang.VerifyError from the Java SDK 1.3.1
API:

Thrown when the verifier detects that a class file, though well
formed, contains some sort of internal inconsistency or security
problem.

-- 
+-+
| Scott Kidder ([EMAIL PROTECTED]) |
| http://orbital.homeip.net/  |
| Software Engineer   |
| Independent Contractor, Santa Cruz, CA  |
+-+

On Sat, 2003-10-18 at 21:38, Sandeep wrote:
 iam getting this error when trying to run a jsp do any one have idea 
 
 
 java.lang.VerifyError: org/apache/log4j/LogManager
   at org.apache.log4j.Logger.getLogger(java.lang.String)
 (Logger.java:85) (pc 1)
 -
 
 
 
 
 jsp code 
 
 %!
 
// Logger logger=Logger.getLogger(com.foo);
 private static Logger log = Logger.getRootLogger();
 %
 
 
 
 TIA 
 
 
 
 
 Note
 
 
 This email including any attachments is intended solely for the use of
named
 recipient only.If you are not that person, you are not authorized to
 read,copy,forward,disclose,take any action on information.Any other use of
 this email and attachments is prohibited.The views expressed in this email
 are not necessarily those of BMA.If you received this email by mistake,
 please destroy all copies and contact  to the sender by email.your
 cooperation is appreciated.
 


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


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

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

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