Has anyone had luck getting object renderers to work? I have a renderer
that implements doRender and returns a string. Both, the rendered class
and rendering class are defined in my config file with a render tag.
I have a sysout in the doRender method, but I never see its println in
the
I am unable to locate any method to gain access to an appender's entire
filter chain. There are methods to get the first filter or head filter.
How do I get access to the n + 1 filter?
-S
-
To unsubscribe, e-mail: [EMAIL
Oops. Just saw the next field on Filter. I was looking for a method
call.
-S
I am unable to locate any method to gain access to an appender's entire
filter chain. There are methods to get the first filter or head filter.
How do I get access to the n + 1 filter?
-S
I have a custom level named Action that has some specific logging
semantics. Currently, the Action level is below Error in the level
hierarchy. I implemented a log wrapper as described in the Log4J
manual. The wrapper implements a action print method.
What I want is for Action level events to
I had an xml log working with a simple file appender configuration.
appender class=org.apache.log4j.FileAppender name=XFA
param name=File value=C:/Logs/ddslog.xml/
layout class=org.apache.log4j.xml.XMLLayout/
/appender
When I switched it to a
-
From: Steve Pruitt [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 08, 2005 12:02 PM
To: Log4J Users List
Subject: Retrieving all defined appenders
Does anyone know a good way to query for all defined appenders without
having to loop through all loggers? I've searched the api, but I can't
find
This is not a log4j problem per se. It appears to be xerces errors, but
maybe someone ran into it before and can help.
Prior to configuring log4j with an xml config file, I read the file
myself and check log file pathnames set in some appenders. I then
transform the document back into an
Does anyone know a good way to query for all defined appenders without
having to loop through all loggers? I've searched the api, but I can't
find anything.
Thanks,
-S
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
%m%n
/
/layout
/appender
Paul
On 17/11/2005, at 8:48 AM, Steve Pruitt wrote:
I specified a conversion pattern for an appender, but I get the
default
format with milliseconds, thread, full logger name, etc. I did
read I
could use a conversion pattern with most layouts
I think having the same max backup index setting for daily rolling files
would be useful. I would still like to limit the sheer number of log
files. I guess I can put it in the suggestion box.
-S
-
To unsubscribe, e-mail:
It seems I can solve my custom pattern + html layout dilemma with a
custom layout. I extended the log4j HTMLLayout class and overrode the
format and getHeader methods. In the getHeader method, I return
everything as in the log4j HTMLLayout class header, except I return the
different column
. Something like
File - Console - Email. I hope this makes sense.
-S
On Aug 2, 2005, at 3:33 PM, Steve Pruitt wrote:
All,
I am adding a custom level for my application. The level name is
SESSION and it has a severity level between INFO and WARN.
Documentation says each level must have
: Log4j config file on Websphere
I have no issues with putting the xml file in websphere as long as I
ALSO put the doctype (.dtd file) in the same dir as the config file.
-Original Message-
From: Steve Pruitt [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 10:32 AM
To: Log4J Users List
That's very interesting. It's a good day when you learn something. If
I understand, I do not need to include a dtd; it is fetched from the
log4j jar.
When and where does the the resolver get registered? This may very well
be something I prevent from doing so.
Setting a breakpoint will be nay
I found my problem. I looked at the DOMConfigurator code. The resolver
is set when the configure(Element el) is not used. I went back to my
code and sure enough I was using configure(root). Duh, user abuser.
I apologize for any confusion.
-S
On Jul 29, 2005, at 12:14 PM, Steve Pruitt
15 matches
Mail list logo