Re: Log4j Issue

2016-08-10 Thread Mark Eggers
Syed, Please do not top post. See: http://tomcat.apache.org/lists.html#tomcat-users item 6. My responses are inline. On 8/10/2016 1:43 AM, Syed Mudassir Ahmed wrote: > Mark, > Thanks for the response. > Indeed I am using Log4j-2. Below is my xml file: > > > > > > filePattern

Re: Log4j Issue

2016-08-10 Thread Syed Mudassir Ahmed
Mark, Thanks for the response. Indeed I am using Log4j-2. Below is my xml file: date:%d, millisecs:%r, level:%p, logger:%c, thread:[%t], file:%F, method:%M, line:%L, message:%m%n%n

Re: Log4j Issue

2016-08-09 Thread Mark Eggers
Syed, On 8/9/2016 10:08 PM, Syed Mudassir Ahmed wrote: > I am using Log4j in my web app to write the logs to a separate file. > Surprisingly, that log file is not at all getting created. I run > the logger logic as a standalone application and the log file indeed > gets created. I am assuming t

Log4j Issue

2016-08-09 Thread Syed Mudassir Ahmed
I am using Log4j in my web app to write the logs to a separate file. Surprisingly, that log file is not at all getting created. I run the logger logic as a standalone application and the log file indeed gets created. I am assuming tomcat is not allowing me to write my logs to a file. It is simpl

Re: misconfigured log4j issue

2008-02-04 Thread Dan Armbrust
I need to correct this point: > > Now, I think that is happening because struts is using > commons-digester to read its xml config files, and commons-digester > includes log4j logging. > commons-digester actually uses commons-logging, not log4j. So, what can I do to find out more how the digest

Re: misconfigured log4j issue

2008-02-04 Thread Dan Armbrust
Allright, the deeper I dig, the more confused I get. I think there is a bug here, bug I still can't pinpoint how it happens. Let's say I'm deploying 2 web applications - both use struts, and therefor have dependencies on commons-digester. App A starts up. A includes a log4j jar file. As A star

Re: misconfigured log4j issue

2008-02-03 Thread Konstantin Kolinko
> > Yes. I manage the log4j configuration myself when my webapp loads - > from a props file - I'm not using any of log4j's auto configure / > discovery stuff. > Tomcat uses commons-logging for its logging needs. Apache commons logging does decide what logging implementation to use at the time whe

Re: misconfigured log4j issue

2008-01-28 Thread Dan Armbrust
On Jan 25, 2008 9:28 PM, Konstantin Kolinko <[EMAIL PROTECTED]> wrote: > What exactly tomcat, log4j versions are you using? Tomcat 5.5.23 Log4j 1.2.15 > Do those warnings affect the rest of your application? No, but my customers notice them and file issues > Is you > configuration read a

Re: misconfigured log4j issue

2008-01-25 Thread Konstantin Kolinko
What exactly tomcat, log4j versions are you using? It may be a classloader issue. Some of them are occasionally found and fixed. That looks like commons-logging resorts to use log4j for the Digester class (instead of java logging aka juli for the server classes), but cannot find configuration.

misconfigured log4j issue

2008-01-25 Thread Dan Armbrust
This seems to be a fairly common problem, but doesn't appear to have a common solution. Any help appriciated... When I launch a webapp, which includes log4j, I get the following warning: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Plea