RE: Tomcat produces empty/missing log files

2011-10-21 Thread Daniel Mikusa
t; > > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Friday, October 21, 2011 3:47 PM > To: Tomcat Users List > Subject: RE: Tomcat produces empty/missing log files > > > From: Brian Jones [mailto:bjone...@uwo.

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Konstantin Kolinko
2011/10/21 Brian Jones : > > That defiantly makes sense. Are there any known workarounds for using > java.util.logging instead of log4j even if the log4j.jar file is present? > You will need to read Commons Logging documentation for that. http://wiki.apache.org/commons/How_to_Configure_the_Loggin

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
List Subject: Re: Tomcat produces empty/missing log files On 10/21/2011 3:53 PM, Brian Jones wrote: > Charles, > > Thanks for your reply. > > I'm not able to do as you suggested, because the software project is not > managed by me, or my parent company. It is an open source enterpr

Re: Tomcat produces empty/missing log files

2011-10-21 Thread David kerber
On 10/21/2011 3:53 PM, Brian Jones wrote: Charles, Thanks for your reply. I'm not able to do as you suggested, because the software project is not managed by me, or my parent company. It is an open source enterprise system that is managed by a community and a foundation. Also, it isn't just on

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
usly isolate my development from the community's. Regards, Brian J -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, October 21, 2011 3:47 PM To: Tomcat Users List Subject: RE: Tomcat produces empty/missing log files > From: Br

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Caldarale, Charles R
> From: Brian Jones [mailto:bjone...@uwo.ca] > Subject: RE: Tomcat produces empty/missing log files > Are there any known workarounds for using java.util.logging > instead of log4j even if the log4j.jar file is present? If you only want log4j for a specific webapp rather than for T

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
brain. Brian J -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Friday, October 21, 2011 3:40 PM To: Tomcat Users List Subject: Re: Tomcat produces empty/missing log files 2011/10/21 Brian Jones : > Yes, it appears that the project I'm deploying is

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Konstantin Kolinko
2011/10/21 Brian Jones : > Yes, it appears that the project I'm deploying is relying on log4j for > logging; so when I remove the log4j.jar file, it obviously complains that it > can't find it. > > However, what I don't understand is why Tomcat refuses to log to the log > files if there is a log4j.

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
o:ma...@apache.org] Sent: Friday, October 21, 2011 3:31 PM To: Tomcat Users List Subject: Re: Tomcat produces empty/missing log files On 21/10/2011 20:27, Brian Jones wrote: > My mistake. The distro doesn't include the .jar by default. The project I > deploy to Tomcat automatic

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Mark Thomas
On 21/10/2011 20:27, Brian Jones wrote: > My mistake. The distro doesn't include the .jar by default. The project I > deploy to Tomcat automatically sticks the log4j.jar file there. > > Sorry for the confusion; I overlooked this step. That begs the question "What else is it doing?" since it appea

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
er 21, 2011 3:23 PM To: Tomcat Users List Subject: Re: Tomcat produces empty/missing log files On 21/10/2011 20:18, Brian Jones wrote: > Thanks again for your insight into the problem. > > Following your advice, I started from a fresh install of Tomcat 5.5.33. > I noticed that log4j.1.2.1

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Mark Thomas
On 21/10/2011 20:18, Brian Jones wrote: > Thanks again for your insight into the problem. > > Following your advice, I started from a fresh install of Tomcat 5.5.33. > I noticed that log4j.1.2.16.jar is included in the common/lib folder by > default. No it isn't. Where are you getting this Tomcat

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
To: Tomcat Users List Subject: Re: Tomcat produces empty/missing log files 2011/10/21 Brian Jones : > >        It would be nice to see the actual command line that starts Tomcat's > Bootstrap. The JVM keys that configure  java.util.logging should be there. > > - I don't k

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
Please find below the context of logging.properties (updated, the 'verbose' copy, rather than the minimalized copy you had suggested previously): # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
: Re: Tomcat produces empty/missing log files 2011/10/21 Brian Jones : > >        It would be nice to see the actual command line that starts Tomcat's > Bootstrap. The JVM keys that configure  java.util.logging should be there. > > - I don't know what you mean by this. >

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Konstantin Kolinko
2011/10/21 Brian Jones : > >        It would be nice to see the actual command line that starts Tomcat's > Bootstrap. The JVM keys that configure  java.util.logging should be there. > > - I don't know what you mean by this. > I mean catalina.bat purpose is to prepare and call "java.exe". I'd like

RE: Tomcat produces empty/missing log files

2011-10-21 Thread Brian Jones
o Tried running the .bat file from the command line directly piping output to a local .txt file; all that gets piped to the .txt file is the java environment variables that are being used startup.bat is equivalent to calling "catalina.bat start" Try using "catalina.bat run" inst

Re: Tomcat produces empty/missing log files

2011-10-20 Thread Konstantin Kolinko
2011/10/20 Brian Jones : > -          Environment: Windows 7 Professional, SP1 64-bit, Tomcat 5.5.33 > > -          Logging level set to INFO > > -          CATALINA_OPTS: -Dsun.lang.ClassLoader.allowArraySyntax=true > > -          No JAVA_OPTS environment variable > > -          JAVA_HOME points t

Tomcat produces empty/missing log files

2011-10-20 Thread Brian Jones
- Environment: Windows 7 Professional, SP1 64-bit, Tomcat 5.5.33 - Logging level set to INFO - CATALINA_OPTS: -Dsun.lang.ClassLoader.allowArraySyntax=true - No JAVA_OPTS environment variable - JAVA_HOME points to JDK 1.6.0_26 - NOT installe