Hi Simon,
I think that the level applied to a Logger instance is evaluated first so
that in this case anything below INFO is dropped by the Logger and therefore
the event does not get as far as being posted into the filters/appenders.
Filtering the event by setting the Logger level allows lower
Hi,
I raised this bug on Saturday:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36800
Regards
Andy
> -Original Message-
> From: Paul Vaillancourt [mailto:[EMAIL PROTECTED]
> Sent: 26 September 2005 19:19
> To: Log4j Mailing List
> Subject: TRACE location information using Pattern
Hi,
Log4j default initialization will look for a file named log4j.properties or
log4j.xml on the classpath. If found it will use it for configuration.
If you name your config file log4j.xml the initialization does not need the
-D property.
AFAIK it doesn't matter if you use log4.xml or s
On Wed, 27 Apr 2005 13:03:02 -0500
Curt Arnold <[EMAIL PROTECTED]> wrote:
> There is a decent likelihood for XMLLayout to change
>before final release of log4j 1.3, so it may be better to
>avoid subclassing it since it really doesn't appear to be
>designed for extension and not that hard to d
orm it into any format I like.
Hope this helps.
Regards
Andy
> -Original Message-
> From: Dave Pawson [mailto:[EMAIL PROTECTED]
> Sent: 26 April 2005 17:18
> To: [EMAIL PROTECTED]
> Cc: 'Log4J Users List'
> Subject: RE: Writing log in xml format
>
>
Dave,
Are you referring to:
http://marc.theaimsgroup.com/?l=log4j-user&m=111401761531451&w=2
If so it appears that you are trying to use the PatternLayout class to
render a custom format xml document?
The XMLLayout class pointed out by Hakan, renders log events as xml
conforming to the log4j.d
I spent ages once trying to get this to work on windows without success.
Appenders are available (as you found) which work on unix/linux but with all
the windows ansi hacks I could find, I still couldn't get it to work on
windows xp.
My advice would be to not bother (unless anyone else has th
You don't need to look at CVS to find what you are looking for.
A search of the log4j-dev mailing list would have revealed many posts over
the past year which answered your question. Perhaps you should look there
before making remarks regarding what the log4j committers have and have not
decided
Hi,
> >Maybe making the logs relative to catalina.home is the right idea. I
> >suppose that my only concern though is that I'm using my primary log
> file by
> >both my web application and another external java application code. I
> >mentioned this a couple days ago and someone suggested th
Hi,
I'm glad you got the permissions sorted but your initial post suggested you
were hoping to have multiple JVMs writing to the same file.
This would most likely be a bad thing and would probably leave you with
mangled logs.
Regards
Andy
> -Original Message-
> From: William Noto [m
Wow, I hope this makes sense to somebody.
Personally I wouldnt know if my template expansion was different to my
library build expansion!
Perhaps this reply was intended to log4cxx userlist instead?
:-)
> -Original Message-
> From: Curt Arnold [mailto:[EMAIL PROTECTED]
> Sent: 15 March
Hi,
Have you tried using a ServletContextListener which calls
org.apache.log4j.LogManager.shutdown() in its contextDestroyed method?
This should allow log4j a chance to close any resources when you stop the
webapp context.
Regards
Andy
> -Original Message-
> From: Fredrik Jonson [mailt
Sorry, that was rubbish, the 'build.chainsaw' gets called
back up as a dependency on 'build'!
My problem was indeed caused by an oro.jar gone astray.
Re-instating the jar and doing a 'clean jar' builds me a
proper chainsaw.jar
Regards
Andy
On Thu, 16 Dec 2004
Hi,
The 'jar' task depends on 'chainsaw.jar' which just jars
up what is there.
'chainsaw.jar' target only depends on 'build', I think it
also needs to depend on 'build.chainsaw'
Regards
Andy
On Thu, 16 Dec 2004 13:11:57 +1100
Paul Smith <[EMAIL PROTECTED]> wrote:
I'm a bit confused as to w
SimpleSocketServer is included in log4j. It uses a
SocketNode instance to read the LoggingEvent from the wire
before logging it to the local log4j environment.
Check the souce code for:
org.apache.log4j.net.SimpleSocketServer
and
org.apache.log4j.net.SocketNode
On Sat, 21 Aug 2004 13:48:32 -
Commons logging seems to cache LogFactory instances using its
classloader as a key - perhaps this could be suspect?
> -Original Message-
> From: Ceki Gülcü [mailto:[EMAIL PROTECTED]
> Sent: 05 August 2004 14:58
> To: Log4J Users List
> Cc: [EMAIL PROTECTED]
> Subject: RE: log4j SEVERE Thr
Try:
export CLASSPATH=
Note the =
Regards
Andy
> -Original Message-
> From: Eliezer Chavez [mailto:[EMAIL PROTECTED]
> Sent: 25 March 2004 07:36
> To: [EMAIL PROTECTED]
> Subject: Problems with my classpath?
>
>
> When i run my application with
> java -classpath runs well
>
> Bu
17 matches
Mail list logo