Hello,
I'm looking for a logging solution for doing logging with a
Personal Profile app (Creme JVM). Does anyone know if Log4J can work
out of the box on a J2ME VM/Personal profile API?
Cheers,
Neil
-
To unsubscribe, e
Pardon for multiple postings; I've been having problems getting the message
into log4j-users.
It seems as if chainsaw should have a change...
I changed the xml version to 1.1. Unfortunately, messages "XML version
"1.0" is recognized, but not "1.1"" are displayed when it tries to parse it.
(In so
The solution was to make sure there is a logger (and related appender)
in the log4j.properties file that matches the name in
Logger.getLogger("some name")
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:08 AM
To: Log4J Users List
Subject: RE:
Thanks Jake, that worked like a charm!
Luke
On Wed, Mar 23, 2005 at 10:33:04AM -0600, Jacob Kjome wrote:
>
> I'm surprised that config file works at all. You are attempting to apply
> additivity to your appender. Additivity applies to loggers, not appenders.
> So, make sure to get rid
Restarting Java (Tomcat) fixed the problem.
On Wed, 23 Mar 2005 11:24:18 -0600, James Stauffer
<[EMAIL PROTECTED]> wrote:
> Ideas?
>
> log4j:ERROR Problem appending event.
> at
> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
> at
> org.apache.log4j.helper
You don't need to modify Chainsaw - Chainsaw will display (as text) the level
provided by the LoggingEvent.
You need to provide a 'receiver' that can use your custom logging level when
constructing LoggingEvent instances.
For example, you can display java.util.logging levels (as text) when even
Hello,
I've extended AppenderSkeleton, and my very primitive implementation
makes use of Sun's JMS (pub/sub). What is strange is that I can't seem
to get my application to exit because of a JMS thread still alive,
despite implementing the close() method.
When debugging, I see that close() is i
On Wed, 23 Mar 2005 15:12:59 -, [EMAIL PROTECTED]
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.digester.Digester).
> log4j:WARN Please initialize the log4j system properly.
> (full stack trace listed below)
>
> From http://logging.apache.org/log4j/ I gather this me
Ideas?
log4j:ERROR Problem appending event.
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
at org.apache.log4j.Category.callAppenders(Category
Quoting Elihu Smails <[EMAIL PROTECTED]>:
> Could you point me to a resource where I could get more information on
> how to do this. I don't have much experience with extending Log4J's
> classes.
>
It isn't a matter of extending any classes, but simply using what's available.
I suggest you read
I'm surprised that config file works at all. You are attempting to apply
additivity to your appender. Additivity applies to loggers, not appenders.
So, make sure to get rid of the line "log4j.additivity.mail=false". The rest
looks ok. I wonder if the line I just mentioned throws the config ou
Paul Smith aconex.com> writes:
>
> Probably not, there is still the issue of resolving the Level string/int
> to a Level. The log4j Level class needs to be changed to enable
> 'registration' of custom levels, but I'm not sure how much of a priority
> that is at this stage.
>
> Paul
>
You
Ah, thank you very much. I didn't expect that to be the case, since
it's not a class.
And congratulations on the new baby!
One final question. I think this may be more of a Java question than a
log4j question, but indulge me. Based on the newfound knowledge that
the properties file needs to be
The error looks like it is happening at the Tomcat level. This probably means
that commons-logging, which Tomcat uses, is finding Log4j in the classpath and
attempting to use it. Try putting a very simple "log4j.xml" config file in the
Tomcat common/classes directory (or elsewhere on the classpa
Hi All
I'm new to asking questions but I'll try and keep it smart. Thanks in
advance if anyone can help.
I've inherited someone else's web project and am attmpting to set it up
in JBuilder 2005 as it is the IDE I am used to.
My predessor has used Log4j-1.2.8
Currently I can build the project
Sure thing:
log4j.rootLogger=INFO, A1, A2
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d %-5p [%-17c{2}] %3x - %m%n
log4j.appender.A2=org.apache.log4j.FileAppender
log4j.appender.A2.File=d:\\
Hi there,
I was wondering why DOMConfigurator.configureAndWatch() method does not have a
LoggerRepository argument like doConfigure() does.
Since I have two different log4j configurations for two different scoped EARs,
the only way to configure them dynamically (as far as I know) is by choosing
Check the API for the MDC class.
http://jdocs.com/log4j/1.2.8/api/index.html Also check the
PatternLayout class in the API to see how to print MDC values.
Short example:
Call this in codeo: MDC.put("PID", getPid());
Add this to the pattern: %X{PID}
On Tue, 22 Mar 2005 17:32:08 -0500, Elihu Smail
Could you point me to a resource where I could get more information on
how to do this. I don't have much experience with extending Log4J's
classes.
Thank you.
On Tue, 22 Mar 2005 21:28:36 +0100, David J. M. Karlsen
<[EMAIL PROTECTED]> wrote:
> Elihu Smails wrote:
>
> >Is there a way to use one
+1
At 10:58 PM 3/22/2005, you wrote:
My best for many happy years and experiences!
Jim
--
Ceki Gülcü
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
At 10:44 PM 3/22/2005, Scott Deboy wrote:
config file must be in classpath.
typing 1-handed - new baby boy!
Congratulations, that's wonderful! Wishes of happiness to the newcomer as
well as to the joyous and presumably exhausted parents.
--
Ceki Gülcü
The complete log4j manual: http://www.qos.c
21 matches
Mail list logo