Re: separate log files for application's on weblogic with log4j using RepositorySelector

2007-04-10 Thread Jacob Kjome
Have you tried using the JNDI repository selector solution, such as in Log4j-1.3? To test this out quickly, you could just try using Log4j-1.3 and its ContextJNDISelector class to perform the repository selection. I know it works. I'm not sure why you are seeing odd results with the classl

Re: separate log files for application's on weblogic with log4j using RepositorySelector

2007-04-10 Thread sohan
"What do you mean "'pcs' is the log file name"? That would be the logger name, not the file name." My mistake, I meant to say that it is both the logger name as well as I named the log file name same too after the application name. I tried with both LogFactory of commons-logging as well as direc

Re: SyslogAppender with tcp

2007-04-10 Thread Curt Arnold
On Apr 10, 2007, at 6:09 PM, Pramodh Peddi wrote: Curt, Thanks for the response. Do you thinking the solution is difficult because I am not using XML configuration? Or irrespective of my using XML configuration or programmatic configuration, the solution is difficult? Thanks, -Pramodh. The

RE: SyslogAppender with tcp

2007-04-10 Thread Pramodh Peddi
Kamal, Thanks for the response. At which point do I make it to explicitly use TCP protocol in your recipe/suggestion? Thanks, -Pramodh. -Original Message- From: Kamal Ahmed [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 4:43 PM To: Log4J Users List Subject: RE: SyslogAppender

RE: SyslogAppender with tcp

2007-04-10 Thread Pramodh Peddi
Curt, Thanks for the response. Do you thinking the solution is difficult because I am not using XML configuration? Or irrespective of my using XML configuration or programmatic configuration, the solution is difficult? Thanks, -Pramodh. -Original Message- From: Curt Arnold [mailto:[EMAIL

Re: separate log files for application's on weblogic with log4j using RepositorySelector

2007-04-10 Thread Jacob Kjome
Quoting sohan <[EMAIL PROTECTED]>: > > I changed to use Log4j.xml from Log4j.properties and also changed to > non-static loggers and with in the static methods followed the link > examples. Now the logging is taking place only for the loggers mentioned in > the static methods, Log log = LogFactory

Re: AsyncAppender Issue

2007-04-10 Thread Curt Arnold
On Apr 10, 2007, at 4:01 PM, Kamal Ahmed wrote: Maybe , Async Appender can be re written using java.util.concurrent.LinkedBlockingQueue Just a suggestion -Kamal. LinkedBlockingQueue was introduced in JDK 1.5. log4j 1.2 must run on older JVM's and alternative JVM's that do not suppor

RE: AsyncAppender Issue

2007-04-10 Thread Kamal Ahmed
Maybe , Async Appender can be re written using java.util.concurrent.LinkedBlockingQueue Just a suggestion -Kamal. -Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 4:58 PM To: Log4J Users List Subject: Re: AsyncAppender Issue > > Has anyo

Re: AsyncAppender Issue

2007-04-10 Thread Curt Arnold
Has anyone else experienced this type of behavior with the AsyncAppender? Thanks. Nope. You should pack up your test case and file a bug report to see if we can figure out what is going on. If you can identify the problem and propose a patch even better. ---

RE: AsyncAppender Issue

2007-04-10 Thread Luedecke, Michael J
Here is the AsyncAppender configuration in my log4j.xml file: I've tried setting buffer to "false" and "true". I'm only creating three logs in my test case, so I was thinking this may not be a full buffer problem. Thanks. -Original Message- From: Jame

Re: AsyncAppender Issue

2007-04-10 Thread James Stauffer
How are you configuring AsyncAppender. I think it has an option that throws away logs when the buffer is full. On 4/10/07, Luedecke, Michael J <[EMAIL PROTECTED]> wrote: I'm losing logs when I use the AsyncAppender for some reason. This loss of logs occurs whether I'm using a custom appender o

AsyncAppender Issue

2007-04-10 Thread Luedecke, Michael J
I'm losing logs when I use the AsyncAppender for some reason. This loss of logs occurs whether I'm using a custom appender or out-of-the-box appender (i.e. FileAppender). I have not noticed this problem when I send a string in the log method call. It only seems to happen when I pass an object

Re: separate log files for application's on weblogic with log4j using RepositorySelector

2007-04-10 Thread sohan
I changed to use Log4j.xml from Log4j.properties and also changed to non-static loggers and with in the static methods followed the link examples. Now the logging is taking place only for the loggers mentioned in the static methods, Log log = LogFactory.getLog("pcs"); pcs is the log file name. A

Re: log4j.dtd file not found

2007-04-10 Thread Curt Arnold
On Apr 10, 2007, at 12:30 PM, sohan wrote: Hi, My goal is to get separate logging for each application deployed on the same weblogic instance using Log4j loaded once during startup. I tried couple of test web applications using Log4j.xml file and seems to be working. To test the same wi

log4j.dtd file not found

2007-04-10 Thread sohan
Hi, My goal is to get separate logging for each application deployed on the same weblogic instance using Log4j loaded once during startup. I tried couple of test web applications using Log4j.xml file and seems to be working. To test the same with my current application, I copied log4j.xml, very

Need help with unsubscribe

2007-04-10 Thread Ostermueller, Erik
I've sent 3 emails to '[EMAIL PROTECTED]' over the last week and I'm still subscribed. Suggestions? thx. Erik Ostermueller

Re: Updating Wrong File

2007-04-10 Thread Eric . Wolf
Try putting the log4j JAR file in each of the application's WEB-INF/lib directory so each application will have its own version to initialize. I ran into this when I tried to put the log4j JAR file in a shared library and another application got "confused" on where to log. I put it back in my

Re: Viewing plain text log4j log files (was: Vigilog listing as "Third-party extension"?)

2007-04-10 Thread Wim Deblauwe
2007/4/10, Wyss Patrick <[EMAIL PROTECTED]>: hi wim, i did not find any way to change the pattern, neither in the webstart nor in the download version (with vigilog-1.3-SNAPSHOT.jar renamed to replace vigilog-1.2.1.jar). but then i'm not sure if i realy have 1.3 working... - how can i set the p

AW: Viewing plain text log4j log files (was: Vigilog listing as "Third-party extension"?)

2007-04-10 Thread Wyss Patrick
hi wim, i did not find any way to change the pattern, neither in the webstart nor in the download version (with vigilog-1.3-SNAPSHOT.jar renamed to replace vigilog-1.2.1.jar). but then i'm not sure if i realy have 1.3 working... - how can i set the pattern? - is there a way to see which version

Re: Viewing plain text log4j log files (was: Vigilog listing as "Third-party extension"?)

2007-04-10 Thread Wim Deblauwe
Hi Maarten, %x is not supported for the moment. Can you send me a private email with an example log file so I can add support for it? regards, Wim 2007/4/10, Maarten Bosteels <[EMAIL PROTECTED]>: Wim, We are using org.apache.log4j.PatternLayout with following pattern %d [%t] %x %-5p %50.50c

Re: Viewing plain text log4j log files (was: Vigilog listing as "Third-party extension"?)

2007-04-10 Thread Maarten Bosteels
Wim, We are using org.apache.log4j.PatternLayout with following pattern %d [%t] %x %-5p %50.50c - %m%n Vigilog doesn't seem to support this ? Maarten Message: java.util.concurrent.ExecutionException: net.sourceforge.vigilog.parse.LogFileParserException: Unsupported conversion item: %x Level:

Re: Viewing plain text log4j log files (was: Vigilog listing as "Third-party extension"?)

2007-04-10 Thread Wim Deblauwe
I just tried with "%-5p [%t] %c - %m%n" as conversion pattern and it works ok. I don't know what those numbers are behind the category? I also updated to the latest version of log4j and jgoodies. The other dependencies seem to be on the latest version. Tailing is currently not supported, you nee