RE: Which Way of Extending Gives Fastest Performance

2004-04-22 Thread James Stauffer
Is the call to isDebugEnabled actually significant? James Stauffer -Original Message- From: Robert Pepersack [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 11:49 AM To: Log4J Users List Subject: Re: Which Way of Extending Gives Fastest Performance You could create a class

RE: Which Way of Extending Gives Fastest Performance

2004-04-22 Thread James Stauffer
If you don't know that it has any noticeable affect on your performance than is that just wasted time? James Stauffer -Original Message- From: Robert Pepersack [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 12:21 PM To: Log4J Users List Subject: RE: Which Way of Extending

RE: Which Way of Extending Gives Fastest Performance

2004-04-22 Thread James Stauffer
may actually decrease performance). James Stauffer -Original Message- From: Robert Pepersack [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 1:24 PM To: Log4J Users List Subject: RE: Which Way of Extending Gives Fastest Performance I've never tried calling isDebugEnabled

RE: Globally MDC.put/remove for hole web application

2004-04-23 Thread James Stauffer
You could probably do it with a servlet filter. James Stauffer -Original Message- From: Stefan Preuss [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 1:35 AM To: [EMAIL PROTECTED] Subject: Globally MDC.put/remove for hole web application Hi, is it possible to set/remove

RE: DBAppender cannot function without a connection source

2004-05-12 Thread 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

MDC: Betting all values

2004-05-12 Thread James Stauffer
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

DBAppender (1.3) schema

2004-05-13 Thread 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

Logging to Database: max column size

2004-05-10 Thread 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

DBAppender: logging_event.timestamp: Number instead of timestamp

2004-05-14 Thread James Stauffer
In DBAppender why is logging_event.timestamp a number instead of timestamp? James Stauffer

RE: Globally MDC.put/remove for hole web application

2004-04-26 Thread James Stauffer
We have a base servlet that all other servlets extend and so we do that kind of think in that servlet. James Stauffer -Original Message- From: Stefan Preuss [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 1:08 AM To: Log4J Users List Subject: RE: Globally MDC.put/remove

Appender attached to a specific level

2004-04-29 Thread 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?

RE: Appender attached to a specific level

2004-04-29 Thread James Stauffer
,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

RE: Appender attached to a specific level

2004-04-29 Thread James Stauffer
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

RE: An odd configuration need...

2004-04-29 Thread James Stauffer
Often for a new release the code starts out with a lot of change and then gradually stabilizes until release. It would be good to know about how stable the code is. I realize that there are no guarantees and I don't expect any. I just want an honest estimation of how stable/complete it is. Do

RE: An odd configuration need...

2004-04-29 Thread James Stauffer
- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: Thursday, April 29, 2004 6:04 PM To: 'Log4J Users List' Subject: RE: An odd configuration need... Often for a new release the code starts out with a lot of change and then gradually stabilizes until release. It would be good to know about how

RE: An odd configuration need...

2004-04-29 Thread James Stauffer
well category, so somewhere after basically works but maybe a touch before works well. Paul -Original Message- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: Friday, April 30, 2004 9:13 AM To: 'Log4J Users List' Subject: RE: An odd configuration need... When I develop

Logging stack trace to Database

2004-05-05 Thread 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

Adding to Wiki

2004-05-17 Thread James Stauffer
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

DBAppender (1.3) schema for MS SQL Server

2004-05-17 Thread 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

RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].

2004-05-20 Thread James Stauffer
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

RE: logging from multiple instances on same file?

2004-05-20 Thread James Stauffer
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

FW: WELCOME to log4j-user@logging.apache.org

2004-05-20 Thread James Stauffer
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

RE: Separate log file per servlet

2004-06-11 Thread 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

Backup appender

2004-06-15 Thread James Stauffer
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

RE: Database Logging Performance Numbers

2004-06-24 Thread 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

RE: Database logging: server name

2004-06-24 Thread James Stauffer
, 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

RE: Database logging: server name

2004-06-24 Thread James Stauffer
: 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

Clear MDC

2004-06-28 Thread James Stauffer
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

RE: FallbackErrorHandler: Empty method body

2004-07-07 Thread 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

Default Initialization Procedure using an XML file

2004-07-14 Thread James Stauffer
property? James Stauffer

RE: One file for every thread

2004-07-15 Thread James Stauffer
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:

RE: log4j and Eclipse

2004-07-16 Thread James Stauffer
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

RE: Strange behaviour with JDBCAppender -- long time lags before control returns to code

2004-07-19 Thread James Stauffer
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

RE: Decorating output before RollingFileAppender

2004-07-27 Thread James Stauffer
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

Chainsaw reading from database logs

2004-08-19 Thread 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

RE: Chainsaw reading from database logs

2004-08-19 Thread 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

RE: Chainsaw reading from database logs

2004-08-19 Thread James Stauffer
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

RE: Chainsaw reading from database logs

2004-08-19 Thread James Stauffer
. (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

RE: Chainsaw reading from database logs

2004-08-19 Thread James Stauffer
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

Compile error caused by DOMConfigurator.configure(URL)

2004-08-31 Thread James Stauffer
] 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

RE: Compile error caused by DOMConfigurator.configure(URL)

2004-09-02 Thread 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

1.3 conversion guide

2004-12-17 Thread James Stauffer
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

RE: DailyRollingFileAppender and logrotate?

2005-01-05 Thread James Stauffer
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

RE: clean log without restart

2005-01-11 Thread James Stauffer
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

RE: Log4J date/time output problem

2005-01-13 Thread James Stauffer
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

log4j for Tomcat and separate log4j config for each web app

2005-01-18 Thread James Stauffer
that? -- James Stauffer http://www.geocities.com/stauffer_james/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: log4j for Tomcat and separate log4j config for each web app

2005-01-18 Thread James Stauffer
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

Re: log4j for Tomcat and separate log4j config for each web app

2005-01-18 Thread James Stauffer
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,

Re: log4j for Tomcat and separate log4j config for each web app

2005-01-18 Thread James Stauffer
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?

Re: log4j for Tomcat and separate log4j config for each web app

2005-01-19 Thread James Stauffer
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

Re: log4j for Tomcat and separate log4j config for each web app

2005-01-19 Thread James Stauffer
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

multiple web-apps in separate logging contexts

2005-01-21 Thread James Stauffer
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

Re: multiple web-apps in separate logging contexts

2005-01-21 Thread James Stauffer
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]

Re: multiple web-apps in separate logging contexts

2005-01-21 Thread James Stauffer
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

log4j.debug classpath searching

2005-02-11 Thread James Stauffer
/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

Debugging

2005-02-14 Thread James Stauffer
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

Re: Debugging

2005-02-15 Thread James Stauffer
-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

Re: JCL+Tomcat+Log4j related problems [Was: Debugging]

2005-02-15 Thread James Stauffer
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.

Re: JCL+Tomcat+Log4j related problems [Was: Debugging]

2005-02-15 Thread James Stauffer
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

Re: JCL+Tomcat+Log4j related problems [Was: Debugging]

2005-02-15 Thread James Stauffer
. -- James Stauffer http://www.geocities.com/stauffer_james/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JCL+Tomcat+Log4j related problems [Was: Debugging]

2005-02-15 Thread James Stauffer
) ... 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

Re: JCL+Tomcat+Log4j related problems [Was: Debugging]

2005-02-15 Thread James Stauffer
-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

Re: JCL+Tomcat+Log4j related problems [Was: Debugging]

2005-02-15 Thread James Stauffer
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

Re: JCL+Tomcat+Log4j related problems [Was: Debugging]

2005-02-16 Thread James Stauffer
); 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

Re: JCL+Tomcat+Log4j related problems [Was: Debugging]

2005-02-16 Thread James Stauffer
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,

Re: Problem with JNDIConnectionSource

2005-02-21 Thread James Stauffer
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

Re: Log File Name !!

2005-02-23 Thread James Stauffer
Regards... -- James Stauffer http://www.geocities.com/stauffer_james/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bug in JNDIConnectionSource

2005-02-23 Thread James Stauffer
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

Re: Bug in JNDIConnectionSource

2005-02-24 Thread James Stauffer
? 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

Re: Object renderers, re-entrant appenders

2005-02-24 Thread James Stauffer
. 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

Re: XML Configurator Parameter List

2005-02-24 Thread James Stauffer
); 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

Re: Suggestions... (modifying logging messages on the fly)

2005-02-28 Thread James Stauffer
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

Re: Suggestions... (modifying logging messages on the fly)

2005-02-28 Thread James Stauffer
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

Re: Suggestions... (modifying logging messages on the fly)

2005-02-28 Thread James Stauffer
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

Re: Threading and Localization using l7dlog

2005-02-28 Thread James Stauffer
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

Re: Threading and Localization using l7dlog

2005-02-28 Thread James Stauffer
ResourceBundle. -- James Stauffer http://www.geocities.com/stauffer_james/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bug in JNDIConnectionSource

2005-03-01 Thread James Stauffer
? 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]

Re: Can i alter DEBUG settings

2005-03-01 Thread James Stauffer
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

Re: Can i alter DEBUG settings

2005-03-01 Thread James Stauffer
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]

Re: Setting parameters on custom loggers with setters

2005-03-02 Thread James Stauffer
,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

Tomcat and SMTPAppender: NoClassDefFoundError: javax/mail/Multipart

2005-03-02 Thread James Stauffer
) 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

Re: Tomcat and SMTPAppender: NoClassDefFoundError: javax/mail/Multipart

2005-03-02 Thread James Stauffer
://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

Re: Tomcat and SMTPAppender: NoClassDefFoundError: javax/mail/Multipart

2005-03-02 Thread James Stauffer
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

Re: RollingFileAppender when running out of disk-space

2005-03-07 Thread James Stauffer
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

Re: smart file name

2005-03-07 Thread James Stauffer
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

Filter on logger

2005-03-07 Thread James Stauffer
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

DBAppender event_id performance.

2005-03-08 Thread James Stauffer
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

Re: Logging problem on Mandrake

2005-03-15 Thread James Stauffer
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

Re: Logging problem on Mandrake

2005-03-16 Thread James Stauffer
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

Re: RollingFileAppender

2005-03-16 Thread James Stauffer
: [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

Re: Directing log statements

2005-03-18 Thread James Stauffer
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]

Re: logging to one file from two separate users / same group

2005-03-18 Thread James Stauffer
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

Fwd: Filter on logger

2005-03-21 Thread James Stauffer
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

Re: guidance on creating a custom layout

2005-03-22 Thread James Stauffer
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]

log4j:ERROR Problem appending event.

2005-03-23 Thread James Stauffer
) 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]

Re: log4j:ERROR Problem appending event.

2005-03-23 Thread James Stauffer
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

Re: Where to set exernal property referred to in log4j.properties

2005-03-25 Thread James Stauffer
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

Re: Extending Log4j

2005-03-25 Thread James Stauffer
- 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

Re: Log4J on Personal Profile

2005-03-29 Thread James Stauffer
, 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

Re: Log4J in Multi-Threaded Environment

2005-03-29 Thread James Stauffer
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

  1   2   3   4   5   6   7   >