Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread Lucas Campbell
Recently we've discovered that our Tomcat server is producing near duplicate Catalina logs. I say near because sometimes the logs are exactly the same, then other times one version will have more information than the other (not constantly one having more than the other). We can't seem to figure

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread André Warnier
I approve of, applaud, second this request, and together beg for help. I asked the same kind of thing a few days ago, but was told to install an "official" Tomcat distribution, with all files in the official places, and not one of these desperately mangled Linux distributions, because the file

RE: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread Caldarale, Charles R
> From: André Warnier [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat producing (near) duplicate Catalina logs > > Then one of the Linux mangling distribution authors intervened > to explain why they were mangling and re-arranging things, and > it all made a lot of sense too.

RE: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread Walter Thompson
Check your server.xml config file for valves-logs settings. -Original Message- From: Lucas Campbell [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 9:33 AM To: users@tomcat.apache.org Subject: Tomcat producing (near) duplicate Catalina logs Recently we've discovered tha

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat producing (near) duplicate Catalina logs Then one of the Linux mangling distribution authors intervened to explain why they were mangling and re-arranging things, and it all made a lot of sense too

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread Rainer Jung
André Warnier wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat producing (near) duplicate Catalina logs Then one of the Linux mangling distribution authors intervened to explain why they were mangling and re-arranging things, and it all made

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread André Warnier
Rainer Jung wrote: André Warnier wrote: Caldarale, Charles R wrote: [...] Guys, I hate to admit it, but it very much looks like I will have to eat my words and be humble and deferential in the future to the "real Tomcat" school of thought. In just found this in the /etc/init.d/tomcat5.5

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | Is it possible to change this so that Tomcat5.5 would produce a single | logfile e.g. per month (catalina.-mm.log), instead of one per day ? IIRC, Tomcat does not do any log rolling of any kind on its own. Tomcat us

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, I'm disappointed in your unwillingness to read documentation for libraries that you use. You wouldn't call General Electric to ask them how to cool a steak just because you keep it cold in a GE freezer. By the sam

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread André Warnier
Apart from the GE/BMW stuff, many thanks for your answers and time anyway. Not that you'd think me ungrateful. Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | Is it possible to change this so that Tomcat5.5 would produce a single | logfi

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, [...] By the same token, don't expect anyone in the Tomcat community to give you a primer on how to configure log4j when the documentation is just begging to be read over at logging.apache.org. :( I took you at

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread David Fisher
Hi Andre, I tried, but I'm not finding it. Am I the only one in that situation ? No, I've tried to read both the log4j docs and the tomcat logging docs. Nowhere is there a good working example that describes some real world situations. My trouble is different from yours, but I believe we

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-13 Thread Ben Stringer
On Sat, 2008-06-14 at 02:31 +0200, André Warnier wrote: [...snip...] > > I tried, but I'm not finding it. > Am I the only one in that situation ? Hi André, Check out cronolog - it is a useful tool to manage tomcat logs in the way you wish. This post may point you in the right direction: http:/

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-16 Thread Mark H. Wood
You are not the only one frustrated by the state of log4j documentation. If you persevere, the Introduction section "Configuration" does sort of explain things, although as noted it does so mainly from the programmer's point of view. The section "Default Initialization" discusses how the configur

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | Ok, then where about in my Tomcat configuration would I find which | logging system it uses, or a pointer to something that tells me which | system is used ? Without going further down the rabbit hole, your question is

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://logging.apache.org/log4j/1.2/manual.html André Warnier wrote: | So I started with the log4j menu item, basically because it seems to be | the only one mentioned there with relevance to Tomcat. | Logically (I thought), I started with the 2.0 ve

Re: Tomcat producing (near) duplicate Catalina logs

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Fisher wrote: | All | my contexts logs are hijacked by Roller, and that is a roller question | that I can't ask due to my weird configuration. But if I understood | better how logging and tomcat interact I could understand. All of the l