logweb?

2007-06-25 Thread Arthur Blake
Did the updated version of logweb ever come out? The web site appears to be out of date and unmaintained. The the live demo link is broken, CVS web browse is broken, etc. In February, Nathan Coast wrote: > Hi all, > > the current logweb is quite old, a new updated version with many > usability e

Use of NDC in chainsaw config

2007-06-25 Thread akshay kumar
Hi there, I have several Tomcats running and generating logs. Within each Tomcat I have several Web-apps that generates logs. All these logs are going into chainsaw, However I want to differentiate the source of all logs. That is It should display in the log message it self that this log c

RE: JUnit testing of output logged with log4j?

2007-06-25 Thread Gallagher, Ron
Bob -- Have you considered using an appender that doesn't write to any files but simply collects all messages for later analysis? Here's how: 1) Create an appender that simply stores all logging messages in a static array. This appender should also provide static methods to (a) retrieve all mes

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread James Stauffer
Search the mailing list archives. I have never used them -- I am just somewhat familiar with what they do. On 6/25/07, sivamma <[EMAIL PROTECTED]> wrote: Can you please explain me more.How to implement repository selectors.Please send me some examples. I tried to find in FAQs and some docs.But

Log4j Configuration

2007-06-25 Thread ed . g . howard
Hi Hopefully someone can help me. I want to configure log4j from a properties file. I am writing a little java application. I have several log4j appenders and everything works well. However I want the option to exit application if ANY of log4j configuration fails. By default I am seeing a warnin

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread sivamma
Can you please explain me more.How to implement repository selectors.Please send me some examples. I tried to find in FAQs and some docs.But its not clear to me. Thanks & Regards, Sivamma. So does only your customer have the problem of mixed logs? It sounds like they just need to change their

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread James Stauffer
So does only your customer have the problem of mixed logs? It sounds like they just need to change their config if they don't want mixed logs. But knowing how customers can be repository selectors might keep the logs separate without the customer changing their config. On 6/25/07, sivamma <[EMA

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread sivamma
Yes thats true. xyz uses abc as a library and abc runs by itself. Can you better explain the relationship between abc and xyz? It sounds like xyz uses abc as a library and that abc also runs by itself. -- View this message in context: http://www.nabble.com/Urgent-Please--How-to-create-differ

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread James Stauffer
Can you better explain the relationship between abc and xyz? It sounds like xyz uses abc as a library and that abc also runs by itself. Repository selectors might help. On 6/25/07, sivamma <[EMAIL PROTECTED]> wrote: We dont know exactly how log4j is handled at XYZ(They are our customers).But

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread sivamma
We dont know exactly how log4j is handled at XYZ(They are our customers).But in abc , we are referring a config file through our code. Please find our java code. == package com.CK; import java.io.File; import org.apache.log4j.Logg

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread Bixler, Scott
- Original Message - From: sivamma <[EMAIL PROTECTED]> To: log4j-user@logging.apache.org Sent: Mon Jun 25 09:11:16 2007 Subject: Re: Urgent Please--How to create different log files with different property files in same webapplication Hi, Thank you for immediate reply. The problem is

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread Bixler, Scott
- Original Message - From: sivamma <[EMAIL PROTECTED]> To: log4j-user@logging.apache.org Sent: Mon Jun 25 09:11:16 2007 Subject: Re: Urgent Please--How to create different log files with different property files in same webapplication Hi, Thank you for immediate reply. The problem is

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread James Stauffer
How exactly is log4j configured from abc and xyz? Directly through code? Code referencing a config file? log4j automatically finding a config file? On 6/25/07, sivamma <[EMAIL PROTECTED]> wrote: Hi, Thank you for immediate reply. The problem is little different here.XYZ and abc are in same ap

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread sivamma
Hi, Thank you for immediate reply. The problem is little different here.XYZ and abc are in same application.XYZ is using abc's jar files and jsps. Our application(abc) have our own log4j configuration property file at WEB-INF folder of XYZ(WEB-INF is common for both of XYZ and abc). We are configu

Re: Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread James Stauffer
If xyz and abc are different web apps then moving log4j.jar and log4j.xml from common to WEB-INF/lib should keep the logs separate. If they are in the same web app then they probably have different logger name roots so you can configure each to use a different appender. (i.e com.abc uses one appen

Re: JUnit testing of output logged with log4j?

2007-06-25 Thread James Stauffer
One option would be to using a test log4j.xml file that has appender filters that filter out expected error messages. Maintaining that might not be easy. On 6/23/07, Bob Jacobsen <[EMAIL PROTECTED]> wrote: I've got a bunch of code that uses log4j for logging, and a large number of unit tests do

Urgent Please--How to create different log files with different property files in same webapplication

2007-06-25 Thread sivamma
Hi, I have a requirement to create different log files in same application.Our application will be used in a different web application.Even the other application is using log4j.We have our own log4j configuration property(WEB-INF/config.properties) file and separate log file in a particular dire