!?
Yahoo! Personals - Better first dates. More second dates.
http://personals.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
James Stauffer
Are you good? Take
name into different logs might be a solution?
Or is log4j not the right solution for the usecase described below?
-Ursprüngliche Nachricht-
Von: James Stauffer [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 4. April 2005 14:37
An: Log4J Users List
Betreff: Re: Generate Protocols
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good
like to be using the
log4j implemention but I saw in the API documentation that it might
be
replaced. Please advise.
John
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good
, Medellin - Colombia
-Mensaje original-
De: James Stauffer [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 05 de Abril de 2005 11:45 a.m.
Para: Log4J Users List
Asunto: Re: JDBCAppender replacement
I don't know when it will be released. Probably when it is ready. :-)
On Apr 5
at the html, but cannot actually load the image.
does anyone know if that's possible on the windows platform (win2k
server)?
thanks
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good
,
Neil
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good
for information (tips, tricks, best practices, gotchas) on
how to use Log4J in a multi-threaded environemnt. Would anyone with
helpful information please either respond to the list or me privately.
Thanks,
Jim
Jim Rice
--
James Stauffer
Are you good? Take the test at http
new resources site!
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
a relative path or chose a path relative to ${catalina.home} ?
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/
-
To unsubscribe, e-mail
)
at org.apache.log4j.Category.error(Category.java:303)
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
PROTECTED]
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Aurther send this to me and asked me to send it to the list.
-- Forwarded message --
From: Arthur Brown [EMAIL PROTECTED]
Date: Mon, 21 Mar 2005 16:26:13 +0100 (MET)
Subject: Re: Filter on logger
To: James Stauffer [EMAIL PROTECTED]
I guess not.
Moreover, from performance
up all the other
statements. Any ideas?
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
logfile (logfile.log.2005-03-17) has read/write
permission across the board, but that is only because I manually chmoded
that file yesterday during testing.
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Friday, March 18, 2005 10:48 AM
To: Log4J Users List
to ROOT but whilst the app is running the war file doesnt
re-deploy so I guess it is not reloading.
John.
James Stauffer wrote:
It is possible that your web app is being reloaded? Each reload could
cause it to be configured again.
On Wed, 16 Mar 2005 13:24:29 +, John Hunsley
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
James Stauffer
Are you good? Take the test
log4j.appender.console.layout.ConversionPattern=%-5p [%t] %d{dd/MMM/
HH:mm:ss,SSS} (%c) - %m%n
and then I set individual packages to WARN, DEBUG etc.
thanks,
John .
James Stauffer wrote:
Are you reloading any web apps? How are you configuring log4j?
On Tue, 15 Mar 2005 14:51
it be better to have DBAppender generate the
event_id (like a GUID)? event_id would have to be expanded.
--
James Stauffer
Are you good? http://www.livingwaters.com/good/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
anyone have suggestions as to how this can be achieved?
Regards,
Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
James Stauffer
http://www.geocities.com
It is added to log4j:configuration:
log4j:configuration debug=true
xmlns:log4j=http://jakarta.apache.org/log4j/;
On Mon, 07 Mar 2005 11:23:20 -0600, Karan [EMAIL PROTECTED] wrote:
From my understanding of your email, I think you want to see log4j
errors, if any.
Put this line in the beginning
Is it possible to set a filter on a logger? I see that I can do it on
an appender but I would like to do it on the logger instead of the 3
appenders that get logs from that one logger.
--
James Stauffer
http://www.geocities.com/stauffer_james
,entryParams,run,SNAL_Log,client,server,SQL-Query,SQL-Values,SQL-Elapsed,SQL-Rows,Exception
/
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 12 more
--
James Stauffer
http://www.geocities.com/stauffer_james
://java.sun.com/products/javabeans/glasgow/jaf.html
At 06:07 PM 3/2/2005, James Stauffer wrote:
I have Tomcat 5.0.27 with common/classes/log4j.xml that uses
org.apache.log4j.net.SMTPAppender. I have common/lib/mail.jar that
has javax/mail/Multipart.class but I still get the stack trace below.
Ideas
When Tomcat starts.
On Wed, 02 Mar 2005 19:25:19 +0100, Ceki Gülcü [EMAIL PROTECTED] wrote:
When is this exception thrown, when Tomcat itself starts, or when your
web-app is loaded?
--
James Stauffer
http://www.geocities.com/stauffer_james
?
http://logging.apache.org/site/bugreport.html
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
filter by
level and catagory. What do you want and what don't you want? And
what are the levels and catagories of the the logs in question?
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL
to print the catagory.
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
of
chars.
When I email my SMS email address it automatically cuts off anything
over 160 characters so maybe you don't need to do anything besides
making sure that the order of info is correct.
--
James Stauffer
http://www.geocities.com/stauffer_james
trace to SMS. When the person
gets the SMS there probably won't be enough info in the trace to be
useful so they could just check email to get the trace.
--
James Stauffer
http://www.geocities.com/stauffer_james
that this is what the
author wanted to do.
Why? ;-
Because it was intended for lining up columns. See the javadocs for
PatternLayout.
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail
features.
Basically, is there any gain by writing your own mapper instead of
just using log4j directly?
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
ResourceBundle.
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
? If yes, then you probably need to
change at lest a bit of log4j code to know about that new dialect.
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED
.
Now l have log4j configured to never log anything in the Database code
to the Database.
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
);
Event the text is different.
Have I missed something, or do you get my point ?
AsyncAppender has the following set methods:
void setBufferSize(int size)
void setLocationInfo(boolean flag)
so you could do
param name=BufferSize value=10 /
param name=LocationInfo value=true /
--
James
Regards...
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
is fine.
Thanks
Arthur Brown
Are you adding a new Dialect? If yes, then you probably need to
change at lest a bit of log4j code to know about that new dialect.
--
James Stauffer
http://www.geocities.com/stauffer_james
Are you adding a new Dialect? If yes, then you probably need to
change at lest a bit of log4j code to know about that new dialect.
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL
);
logger.error(Test Error);
}
public void print
public void doGet(HttpServletRequest req, HttpServletResponse res) {
}
}
On Tue, 15 Feb 2005 13:19:15 -0600, James Stauffer
[EMAIL PROTECTED] wrote:
Ceki Gülcü [EMAIL PROTECTED] wrote:
Place commons-logging.jar and log4j.jar
More info: I changed the Config servlet to write a few logs with
logger.debug and logger.error and that info gets to the files but not
anything besides that.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
-Xms256m -Xmx256m -XX:MaxPermSize=128m -Dlog4j.debug
What other details do you want?
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Tue, 15 Feb 2005 18:19:52 +0100, Ceki Gülcü [EMAIL PROTECTED] wrote:
You did not specify which minor version of Tomcat 5.0 it was. Anyway,
if it is Tomcat 5.0.27 or later, then keep the commons-logging and
log4j jars in the following locations:
5.0.27. I'll give that a try.
Ceki Gülcü [EMAIL PROTECTED] wrote:
Join the club of users been bitten by Jakarta Commons Logging and
its smart discovery process.
You did not specify which minor version of Tomcat 5.0 it was.
5.0.27
Anyway, if it is Tomcat 5.0.27 or later, then keep the commons-logging and
log4j jars in
.
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
)
... 11 more
On Tue, 15 Feb 2005 12:27:01 -0600, James Stauffer
[EMAIL PROTECTED] wrote:
Ceki Gülcü [EMAIL PROTECTED] wrote:
What does TOMCAT_HOME/log/catalina.out say?
Do you want me to send you the whole file? Should I send it to you directly?
I also used the JSP at
http
-logging-api.jar
TOMCAT_HOME/common/lib/log4j.jar
TOMCAT_HOME/common/lib/commons-logging.jar
AFAIK that is what I had. :-/
Did you have the org.apache.commons.logging.LogFactory system property set?
It should not be set.
I just tried it that way once to see if it would work.
--
James
Thanks for all of your help!
Would the following cause problems?
/usr/share/java/commons-logging.jar
/usr/share/java/commons-logging-1.0.2.jar
/usr/share/ant/lib/commons-logging.jar
--
James Stauffer
http://www.geocities.com/stauffer_james
If I don't get ouptut to the files as I expect how do I debug it? I
do use -Dlogf4.debug but that doesn't seem to give clues to the cause.
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail
/lib/activation.jar
file:/u01/jakarta-tomcat-5.0.27/common/lib/log4j.jar
file:/u01/jakarta-tomcat-5.0.27/common/lib/mail.jar
-- Parent Classloader:
[EMAIL PROTECTED]
class loader.
--
James Stauffer
http://www.geocities.com/stauffer_james
I did the first two steps in examples\tiny-webapp\INSTALL.txt:
log4j.jar in common/lib
added -Dlog4j.repositorySelector=JNDI to command line
I didn't see the following in the output:
*** Will use ContextJNDISelector **
Should I see that after just those two steps (and restart tomcat)?
--
James
I am using 1.2.9. Does it only work with 1.3? I am using my own apps.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
So for 1.2 I need to use a custom repository selector from the sandbox
and in 1.3 there is one available in the core. Is that correct?
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL
From INSTALL.txt:
- Optionally, you can add a configuration file such as log4j.xml or
log4j.properties in the class directory of your *web-server*. For
Tomcat versions 4 or 5, that would be ./server/classes/ directory.
When I do that it doesn't find log4j.xml. stdout.log:
log4j: Trying to
Yes but not as well.
Is there any detail on that that I shoudl know?
One thing that I found is that I can't use:
listener
listener-classorg.apache.log4j.selector.servlet.ContextDetachingSCL/listener-class
/listener
that?
--
James Stauffer
http://www.geocities.com/stauffer_james/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am unable to get that to work. If there is no web site that
explains how to do that then I can post what I have tried and what
happened.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I have log4j.jar in WEB-INF/lib and common/lib (so Tomcat can use it).
I have log4j.xml in WEB-INF/classes and common/classes.
It appears that once it is configured once for Tomcat it won't do it
for the app.
-
To unsubscribe,
On Tue, 18 Jan 2005 19:10:29 +0100, Ceki Gülcü [EMAIL PROTECTED] wrote:
Have a look at this document:
http://www.qos.ch/logging/sc.jsp
Following that, CVS check out log4j 1.3 and consult the examples
located under ./examples/tiny-webapp/
Does that work with 1.2.9?
Yes. It has a setBufferSize method.
-Original Message-
From: j d [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 13, 2005 7:46 AM
To: Log4J Users List
Subject: Re: Log4J date/time output problem
Is it possible to control the size of AsyncAppender's
buffer?
Thanks,
Yuval E.
--- Ceki
Your best bet is using a time based or sized based rolling appender.
James Stauffer
-Original Message-
From: Chapoor Chapoor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 11, 2005 11:11 AM
To: log4j-user@logging.apache.org
Subject: clean log without restart
Hi
I create
It appears that log4j 1.3 has that functionality. The API docs for
RollingFileAppender have the following example:
appender name=ROLL class=org.apache.log4j.rolling.RollingFileAppender
rollingPolicy class=org.apache.log4j.rolling.TimeBasedRollingPolicy
param name=FileNamePattern
I saw a guide on how to change code to support 1.3 but what about how to
change config? i.e. If you are using DailyRollingFileAppender then use
...
James Stauffer
I found the solution.
After looking at
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02887.html I
added jaxp.jar to the classpath for compiling and now it works.
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 2:51 PM
To: '[EMAIL
] at
org.apache.tools.ant.Main.runBuild(Main.java:610)
[java] [javac] at org.apache.tools.ant.Main.start(Main.java:196)
[java] [javac] at org.apache.tools.ant.Main.main(Main.java:235)
James Stauffer
http://logging.apache.org/log4j/docs/chainsaw.html#WhatIsIt says read
events from a DB but I can't find any info on that. I don't see any
receivers that look like they would do that and I searched the mailing list
and Google. Where should I look for info on doing that?
James Stauffer
/
JDBCReceiver
This receiver does not require a specific schema. Instead, you are required
to define the query and assign the column names as specified in the javadoc.
Scott
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Thu 8/19/2004 8:12 AM
To: 'Log4J
ver1.xml?rev=1.2view=auto
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Thu 8/19/2004 9:23 AM
To: 'Log4J Users List'
Cc:
Subject:RE: Chainsaw reading from database logs
I use the schema from DBAppender. When I try to add a receiver I don't
. (not ideal, but I would like to
see if it works).
Cheers,
Paul Smith
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 4:34 AM
To: 'Log4J Users List'
Subject: RE: Chainsaw reading from database logs
In the Java Web Start console I get
that's the only
place I can get it to use the custom class loader.
You can go ahead and send me your jar (not to this list though).
Cheers,
Paul Smith
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 8:14 AM
To: 'Log4J Users List'
Subject
RollingFileAppender extends FileAppender so it takes a PatternLayout also.
James Stauffer
-Original Message-
From: F Kurzawa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 10:55 AM
To: Log4J Users List
Subject: Decorating output before RollingFileAppender
I want to format
Can you profile the code to determine what is taking so long?
James Stauffer
-Original Message-
From: Donald Larmee [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 17, 2004 12:08 PM
To: 'Log4J Users List'
Subject: RE: Strange behaviour with JDBCAppender -- long time lags before
control
Try catch(Throwable e)
James Stauffer
-Original Message-
From: Bill Harrelson [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 2:52 PM
To: [EMAIL PROTECTED]
Subject: log4j and Eclipse
lI'm trying to get log4j running with Tomcat and Eclipse.
I have in my servlet init procedure
If you logged to a database it would be easy to select the logs from one
thread.
-Original Message-
From: DE BENEDICTIS DAVIDE [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 9:46 AM
To: Log4J Users List
Subject: RE: One file for every thread
-Original Message-
From:
property?
James Stauffer
I found a note saying that this can't be used with the XML config file
(DOMConfigurer). Is that still the case?
James Stauffer
-Original Message-
From: Rabl, Christian [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 4:41 AM
To: [EMAIL PROTECTED]
Subject: FallbackErrorHandler
I hear 1.3 has a clear method for MDC. How can I do that in 1.2? Can I do
the following?
Enumeration enum = MDC.getContext().keys();
while(enum.hasMoreElements()) {
MDC.remove(enum.nextElement().toString());
}
James Stauffer
I did performance testing comparing writing to the database to writing to
the file system but how could my numbers be useful to you size the log size,
log frequency, database type, network connection, hardware, etc will all
vary compared to you.
-Original Message-
From: pooja
, strServerHostname);
MDC.put(REQUEST_SERVER_NAME_KEY, req.getServerName());
MDC.put(REQUEST_REMOTE_ADDRESS_KEY, req.getRemoteAddr());
-Sean
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 11:55 AM
To: 'Log4J Users List'
Subject: Database
: Database logging: server name
We have not seen any performance problems.
-Sean
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 12:01 PM
To: 'Log4J Users List'
Subject: RE: Database logging: server name
Is there a way to avoid
Is there a way to setup a backup appender? e.g. if DBAppender can't write
the event to the database then it will send it to a FileAppender.
James Stauffer
());
} catch(IOException e) {
LogLog.error(Unable to reset fileName.);
}
}
super.subAppend(event);
}
James Stauffer
-Original Message-
From: Horry, Adam J [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 3:30 PM
To: Log4J Users List
Subject: RE: Separate
Is that list generated when Tomcat is stopped? Another thing to try is
restarting the machine -- That would release the lock no matter what program
has it.
James Stauffer
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 10:47 AM
You could send the log messages out through a Socket and have a ServerSocket
listen to both servers and consolidate the messages.
James Stauffer
-Original Message-
From: siva kumar [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 1:39 PM
To: [EMAIL PROTECTED]
Subject: logging
A few people have been asking about unsubscribing. The info that I received
in my welcome message should do the trick for you.
James Stauffer
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 1:26 PM
To: [EMAIL PROTECTED]
Subject
Is adding to Wiki allowed/encouraged? I tried to add an example XML file to
http://wiki.apache.org/logging-log4j/Log4JProjectPages_2fLog4JXmlFormat?acti
on=show
http://wiki.apache.org/logging-log4j/Log4JProjectPages_2fLog4JXmlFormat?act
ion=show but it denied me.
James Stauffer
Does anyone have DBAppender (1.3) schema for MS SQL Server? I could do it
but I am currently waiting for tools to access an MS SQL Server.
James Stauffer
In DBAppender why is logging_event.timestamp a number instead of timestamp?
James Stauffer
move to 1.3 I can just switch to the DBAppender
in log4j. Right now I am putting -1 in those columns because it doesn't
appear that I can access the source of that data in 1.2.8.
James Stauffer
Is Joran bleeding edge?
James Stauffer
-Original Message-
From: Ceki Gülcü [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 2:25 AM
To: Log4J Users List
Subject: RE: DBAppender cannot function without a connection source
James,
Right. You need JoranConfigurator (log4j 1.3
In an Appender in the append(LoggingEvent event) method how do I get all of
the MDC values?
LoggingEvent has a getMDCCopy but it returns void (a get method that
returns void?).
MDC.getContext is marked for internal usage.
James Stauffer
the insert
fails. From what I remember MS SQL just truncates the data (which would be
fine with me). I know that 4000 characters seems like a lot but our stack
trace messages can be very verbose (have all of the data from a document).
Is this issue handled by any database loggers?
James Stauffer
Do any of the Database Appenders support logging the stack trace? It
doesn't look like DBAppender does (unless it is included in
LoggingEvent.getRendererMessage()). JDBCAppender explicitly states that it
doesn't log exceptions.
James Stauffer
Is it possible to attach to an appender to a specific level? If all my code
is in sps.webec can I make an appender only log events under sps.webec?
,SSS}\t(%x)\t%m\r\n
obviously you can adjust the conversion pattern to suit your tastes and
you could use another type of appender if desired. You can also set the
logging level as you desire in the first line.
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent
classes whose FQCN begins with sps.webec will be
logged to appended A2. The rest of the lines set up appender A2.
alan
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 29, 2004 2:10 PM
To: 'Log4J Users List'
Subject: RE: Appender attached
501 - 600 of 608 matches
Mail list logo