Re: catalina.out, was Re: Connector definitions

2023-03-08 Thread James H. H. Lampert
On 3/8/23 4:06 PM, Christopher Schultz wrote: SOP for systemd is to redirect stdout/stderr for the process into its own logs similar to syslog (but different, of course, because #systemd). This could also happen on Linux is you are using "jsvc" to launch Tomcat. If you use the standard shell s

Re: catalina.out, was Re: Connector definitions

2023-03-08 Thread Christopher Schultz
James, On 3/8/23 17:05, James H. H. Lampert wrote: On 3/8/23 1:34 PM, Zerro wrote: On the Linux box Tomcat is probably started by systemd, therefore no catalina.out Very likely, but can you elaborate on that? I'm much more of a DOS (to the point of having gone to great lengths to set up a r

Re: catalina.out, was Re: Connector definitions

2023-03-08 Thread James H. H. Lampert
On 3/8/23 1:34 PM, Zerro wrote: On the Linux box Tomcat is probably started by systemd, therefore no catalina.out Very likely, but can you elaborate on that? I'm much more of a DOS (to the point of having gone to great lengths to set up a refurbished vintage notebook as a functioning DOSbook

Re: catalina.out, was Re: Connector definitions

2023-03-08 Thread Zerro
On 3/8/23 20:54, James H. H. Lampert wrote: On 3/8/23 11:35 AM, Mark Thomas wrote: Check logging.properties and/or how you have stdout redirected in your start-up scripts. Thanks. All I see different in logging.properties is that on the Midrange box (installed from the ZIP file from Apache's

Re: catalina.out, was Re: Connector definitions

2023-03-08 Thread Rob Sargent
On 3/8/23 13:47, Rob Sargent wrote: On 3/8/23 12:54, James H. H. Lampert wrote: On 3/8/23 11:35 AM, Mark Thomas wrote: Check logging.properties and/or how you have stdout redirected in your start-up scripts. Thanks. All I see different in logging.properties is that on the Midrange box

Re: catalina.out, was Re: Connector definitions

2023-03-08 Thread Rob Sargent
On 3/8/23 12:54, James H. H. Lampert wrote: On 3/8/23 11:35 AM, Mark Thomas wrote: Check logging.properties and/or how you have stdout redirected in your start-up scripts. Thanks. All I see different in logging.properties is that on the Midrange box (installed from the ZIP file from Apach

Re: Catalina.out not updating

2018-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Akhilesh, On 3/6/18 7:31 AM, Akhilesh ET wrote: > We are facing a situation wherein one of our production servers > running tomcat 6.0.18 is unable to generate logs after service > startup. Logging just stops after service start up. Maybe it's dyi

RE: Catalina.out not updating

2018-03-06 Thread Akhilesh ET
Hi Thomas, Thanks for the reply. Yes we have checked that it is fine. Also the same server with the same configuration and permissions is working fine if we change the IP address. Thanks & Regards Akhilesh.E.T ITC Infotech India Ltd., ITC Infotech Park, #18 Banaswadi Main Road, Bangalore - 560

Re: catalina.out rotation in tomcat 7.0.56

2014-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Niranjan, On 11/26/14 1:40 PM, Niranjan Babu Bommu wrote: > Can you please help me out catalina.out rotation, I have only thing > pending in my migration project. > > I want to rotate catalina.out everyday midnight. It sounds like you are saying t

Re: catalina.out rotation in tomcat 7.0.56

2014-11-26 Thread Niranjan Babu Bommu
Hi Chris, Can you please help me out catalina.out rotation, I have only thing pending in my migration project. I want to rotate catalina.out everyday midnight. Thanks Niranjan On Fri, Nov 21, 2014 at 2:00 PM, Niranjan Babu Bommu < niranjan.bo...@gmail.com> wrote: > Hi Chris, > > Thanks for you

Re: catalina.out rotation in tomcat 7.0.56

2014-11-21 Thread Niranjan Babu Bommu
Hi Chris, Thanks for your reply. Actually I'm running multiple instances in tomcat, log-rotation works fine for all the instances but they are not rotation midnight everyday, '.'-MM-ddRollover at midnight each day. Thanks Niranjan On Fri, Nov 21, 2014 at 12:18 PM, Christopher Schultz < ch..

Re: catalina.out rotation in tomcat 7.0.56

2014-11-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Niranjan, On 11/21/14 10:38 AM, Niranjan Babu Bommu wrote: > I’m working on a project migrating apps from jboss to tomcat, I’m > running into an issue that is catalina.out rotation, I’m using > log4.properties. Everything works fine, log rotation ha

Re: catalina.out filled with binary data

2014-10-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, Please don't hijack threads by replying to an existing message and changing the subject. Instead, please start a new mail message to users@tomcat.apache.org if you have a new question. Thanks, - -chris On 10/24/14 11:58 AM, Jeffrey D. Ful

Re: catalina.out is 13G

2014-04-22 Thread David kerber
?". Regards -Original Message- From: Filip Hanik [mailto:fi...@hanik.com] Sent: Tuesday, April 22, 2014 7:52 PM To: Tomcat Users List Subject: Re: catalina.out is 13G http://www.tomcatexpert.com/knowledge-base/rotating-catalinaout-log-files On Tue, Apr 22, 2014 at 8:20 AM, Ra

RE: catalina.out is 13G

2014-04-22 Thread Randhir Singh
- From: Filip Hanik [mailto:fi...@hanik.com] Sent: Tuesday, April 22, 2014 7:52 PM To: Tomcat Users List Subject: Re: catalina.out is 13G http://www.tomcatexpert.com/knowledge-base/rotating-catalinaout-log-files On Tue, Apr 22, 2014 at 8:20 AM, Randhir Singh wrote: > Hi, > >

Re: catalina.out is 13G

2014-04-22 Thread Ognjen Blagojevic
On 22.4.2014 16:22, Filip Hanik wrote: http://www.tomcatexpert.com/knowledge-base/rotating-catalinaout-log-files Also, there is a related issue in Bugzilla, to make things easier to configure: https://issues.apache.org/bugzilla/show_bug.cgi?id=53930 -Ognjen -

Re: catalina.out is 13G

2014-04-22 Thread Filip Hanik
--Original Message- > From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] > Sent: Tuesday, April 22, 2014 7:55 PM > To: Tomcat Users List > Subject: Re: catalina.out is 13G > > Hello Randhir, > > whatever revert means. > However, if you remove the file the place wi

Re: catalina.out is 13G

2014-04-22 Thread Frederik Nosi
our filesystem but you'l lose all content in catalina.out As another option, you can use cronolog for catalina.out Bye, Frederik Regards -Original Message- From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] Sent: Tuesday, April 22, 2014 7:55 PM To: Tomcat Users List Sub

RE: catalina.out is 13G

2014-04-22 Thread Randhir Singh
: Re: catalina.out is 13G Hello Randhir, whatever revert means. However, if you remove the file the place will be occupied on most *'nix system until a process restart. You will probably have to restart your server to free this mount point's storage anyway. regards Leon On Tue, Apr 22,

Re: catalina.out is 13G

2014-04-22 Thread Leon Rosenberg
Hello Randhir, whatever revert means. However, if you remove the file the place will be occupied on most *'nix system until a process restart. You will probably have to restart your server to free this mount point's storage anyway. regards Leon On Tue, Apr 22, 2014 at 4:20 PM, Randhir Singh wro

Re: catalina.out is 13G

2014-04-22 Thread Filip Hanik
http://www.tomcatexpert.com/knowledge-base/rotating-catalinaout-log-files On Tue, Apr 22, 2014 at 8:20 AM, Randhir Singh wrote: > Hi, > > I have a immediate concern as the mount point on which Tomcat is placed is > 99% and on checking I found that catalina.out is 13GB. I wanted to > implement a

Re: catalina.out anomaly?

2014-04-04 Thread Shanti Suresh
All, First of all, I apologize for the question on "catalina.out" being empty in v7.0.23. That's because I am using log4j for Tomcat logging, and the level was set to "ERROR". Here is an interesting finding between v7.0.23 and v7.0.52. It appears that a 3 second delay occurs in v7.0.52 as the d

Re: catalina.out anomaly?

2014-04-04 Thread Shanti Suresh
Hi Chris, Thanks you for the note! On Thu, Apr 3, 2014 at 12:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Shanti, > > > They work the same way. Are you launching them differently for > different versions? > Yes, actua

Re: catalina.out anomaly?

2014-04-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shanti, On 4/3/14, 12:19 PM, Shanti Suresh wrote: > I am unable to understand how Tomcat v7.0.23 suppresses startup > messages in catalina.out and Tomcat v7.0.52 displays them all in > catalina.out. They work the same way. Are you launching them di

Re: catalina.out growing very fast

2014-02-10 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pooja, On 2/10/14, 2:10 PM, Pooja Swamy wrote: Here is a sample of how the messages look - INFO [Fri Feb 9 04:48:21 GMT 2014:] [http-bio-8080-exec-141] [] Log : Fri Feb 09 04:48:21 GMT 2014 TestApp: http://myTestApp

Re: catalina.out growing very fast

2014-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pooja, On 2/10/14, 2:10 PM, Pooja Swamy wrote: > Here is a sample of how the messages look - > > INFO [Fri Feb 9 04:48:21 GMT 2014:] [http-bio-8080-exec-141] [] > Log : Fri Feb 09 04:48:21 GMT 2014 TestApp: > http://myTestApp-all.chatter.test.co

Re: catalina.out growing very fast

2014-02-10 Thread Pooja Swamy
Here is a sample of how the messages look - INFO [Fri Feb 9 04:48:21 GMT 2014:] [http-bio-8080-exec-141] [] Log : Fri Feb 09 04:48:21 GMT 2014 TestApp: http://myTestApp-all.chatter.test.com:8301/ukp/MyServlet--USER->webuser I have the same message getting written 8-10 times every second. Please

Re: catalina.out growing very fast

2014-02-10 Thread Pooja Swamy
Thank so much for your detailed answers. Really appreciate your help. The changes you recommend here - Do I need to make these changes in logging.properties in conf folder, or log4j.xml? On Mon, Feb 10, 2014 at 4:37 AM, Konstantin Kolinko wrote: > 2014-02-10 5:53 GMT+04:00 Pooja Swamy : > > Hi,

Re: catalina.out growing very fast

2014-02-10 Thread Konstantin Kolinko
2014-02-10 5:53 GMT+04:00 Pooja Swamy : > Hi, > > I am on a bridge call in the middle of a critical Production issue, and I > need some urgent help. I am using Tomcat 7.0.x, and my catalina.out file is > growing very fast. It is currently at 50 GB. I am frequently rotating the > file, but no luck.

Re: catalina.out growing very fast

2014-02-10 Thread Mark Thomas
On 10/02/2014 01:53, Pooja Swamy wrote: > Hi, > > I am on a bridge call in the middle of a critical Production issue, and I > need some urgent help. I am using Tomcat 7.0.x, and my catalina.out file is > growing very fast. It is currently at 50 GB. I am frequently rotating the > file, but no luck.

Re: catalina.out growing very fast

2014-02-09 Thread Pooja Swamy
Here is my logging.properties file - handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler .handlers = 1catalina.org.apache.juli.FileHandler, java.

Re: catalina.out growing very fast

2014-02-09 Thread Dhaval Jaiswal
you can check that setting in log4j properties file. INFO will log all the information, while Error will log only Errors. It must by generated by apps only or have you redirected any logs to the catalina.out On Mon, Feb 10, 2014 at 12:19 AM, Pooja Swamy wrote: > Yes, I have it set to INFO mo

Re: catalina.out growing very fast

2014-02-09 Thread Pooja Swamy
Yes, I have it set to INFO mode, and I can't afford to have ERROR. But why are these messages landing in my catalina.out file in the first place? On Sun, Feb 9, 2014 at 9:09 PM, Dhaval Jaiswal wrote: > Seems to me you have kept Debug/Info mode on instead of Error. > > > > > On Sun, Feb 9, 2014 a

Re: catalina.out growing very fast

2014-02-09 Thread Dhaval Jaiswal
Seems to me you have kept Debug/Info mode on instead of Error. On Sun, Feb 9, 2014 at 8:53 PM, Pooja Swamy wrote: > Hi, > > I am on a bridge call in the middle of a critical Production issue, and I > need some urgent help. I am using Tomcat 7.0.x, and my catalina.out file is > growing very fa

Re: Catalina.out

2013-03-04 Thread vicky007aggarwal
Thank u guys On Mar 4, 2013, at 5:27 PM, Markus Schönhaber wrote: > 04.03.2013 12:33, vicky007aggar...@yahoo.co.in: >> I am using tomcat 7.0.30(os: redhat linux) & referring below link for >> implementing log4j at the container level >> >> http://tomcat.apache.org/tomcat-6.0-doc/logging.ht

Re: Catalina.out

2013-03-04 Thread Markus Schönhaber
04.03.2013 12:33, vicky007aggar...@yahoo.co.in: > I am using tomcat 7.0.30(os: redhat linux) & referring below link for > implementing log4j at the container level > > http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j > > Using this link i am still not able to rotate the > Catal

Re: Catalina.out

2013-03-04 Thread Violeta Georgieva
2013/3/4 : > I am using tomcat 7.0.30(os: redhat linux) & referring below link for > implementing log4j at the container level > > http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j > > Using this link i am still not able to rotate the > Catalina.out , is it feasible to do that,if

Re: Catalina.out log level

2012-10-20 Thread Ralph Plawetzki
Am 19.10.2012 21:32, schrieb vicky007aggar...@yahoo.co.in: > Thanks ralph for responding > Just only below line is enough?? Yes. You can find more info about logging with Tomcat here: http://tomcat.apache.org/tomcat-7.0-doc/logging.html Regards, Ralph ---

Re: Catalina.out log level

2012-10-19 Thread vicky007aggarwal
Thanks ralph for responding Just only below line is enough?? No need to configure/alter anything else u mean ? org.apache.catalina.level=FINEST Thanks, Vicky Sent from my iPhone On Oct 19, 2012, at 7:06 PM, Ralph Plawetzki wrote: > Am 19.10.2012 14:49, schrieb vicky007aggar...@yahoo.co.in: >

Re: Catalina.out log level

2012-10-19 Thread Ralph Plawetzki
Am 19.10.2012 14:49, schrieb vicky007aggar...@yahoo.co.in: > Hi All, > > Can you please suggest how to change the log level of tomcat catalina.out > file. > > I did change in the logging.properties for all handlers to finest but still > catalina.out showing log levels with Info level only where

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-23 Thread Konstantin Kolinko
2012/4/23 Dilip Shah : > ok, the issue is resolved! > > Konstantin, > Your observation that output in catalina.out in Linux Live environment is > different from console output in my Windows development environment > and > your statement "You have some mess in your common/lib" > prompted me to compa

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-23 Thread Dilip Shah
ok, the issue is resolved! Konstantin, Your observation that output in catalina.out in Linux Live environment is different from console output in my Windows development environment and your statement "You have some mess in your common/lib" prompted me to compare jar files in both the environmen

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dilip, On 4/20/12 7:36 PM, Dilip Shah wrote: > The problem is that there seem to be one / several jar files that I > use in my application that are adding vast number of INFO and > DEBUG statements in catalina.out I suspect that the following are tru

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Dilip Shah
--- From: "Mark Eggers" Sent: Friday, April 20, 2012 4:00 PM To: "Tomcat Users List" Subject: Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file? - Original

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Mark Eggers
- Original Message - > From: Konstantin Kolinko > To: Tomcat Users List > Cc: > Sent: Friday, April 20, 2012 1:30 PM > Subject: Re: catalina.out file is growing very rapidly! How to prevent > Hibernate's INFO and DEBUG statements from getting added to catalina.o

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Konstantin Kolinko
2012/4/21 Dilip Shah : > Konstantin and Chris, > > Very much appreciate your observations and suggestions. To start with, I'm > going to streamline the jar files in common/lib and WEB-INF/lib. If that > still doesn't help, I'll bite the bullet and upgrade to Tomcat 7. Any > suggested reading on del

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Dilip Shah
20, 2012 12:47 PM To: "Tomcat Users List" Subject: Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dilip, On 4/20/12 12:43 PM, Dilip Shah

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dilip, On 4/20/12 12:43 PM, Dilip Shah wrote: > The following provides clarifications / details on the environments > in which the application is developed and then hosted: (quite a bit > of detail but I'm hoping this will help get to the root of the

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Konstantin Kolinko
2012/4/20 Dilip Shah : > The following provides clarifications / details on the environments in which > the application is developed and then hosted: > (quite a bit of detail but I'm hoping this will help get to the root of the > issue) > > Develop environment: > = > * Windows XP SP

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Dilip Shah
(sorry for sending the same email again... the earlier delivery wasn't all successful since one of the attachments had .bat file extension) The following provides clarifications / details on the environments in which the application is developed and then hosted: (quite a bit of detail but I'm h

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Dilip Shah
The following provides clarifications / details on the environments in which the application is developed and then hosted: (quite a bit of detail but I'm hoping this will help get to the root of the issue) Develop environment: = * Windows XP SP3 * Tomcat version information: C:\

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Konstantin Kolinko
2012/4/20 Dilip Shah : > Hi Konstantin, > > I checked all the jar files I added to common/lib and none of them have > log4j.properties file at the root location. > The log4j.properties that you cited in your first mail - it is in your app's WEB-INF/classes? Where is log4j**.jar ? Is there one co

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Konstantin Kolinko
2012/4/20 Pid : > On 20/04/2012 00:43, Dilip Shah wrote: >> Hi Konstantin, >> >> According to http://www.mulesoft.com/tomcat-logging , to make sure my >> Log4j configuration is complete, I should have tomcat-juli.jar and >> tomcat-juli-adapters.jar files in $CATALINA_HOME/bin/ >> whereas, I have ju

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Pid
from the catalina.sh file? > > Thanks, > > Dilip > > -- > From: "Dilip Shah" > Sent: Thursday, April 19, 2012 4:21 PM > To: "Tomcat Users List" > Subject: Re: catalina.out file is growing very rapid

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-19 Thread Dilip Shah
the application's WEB-INF/lib) and didn't find any of the jar having log4j.properties or log4j.xml at the root. This is just some additional information. Dilip ------ From: "Dilip Shah" Sent: Thursday, April 19, 2012 3:57 PM To:

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-19 Thread Dilip Shah
- From: "Dilip Shah" Sent: Thursday, April 19, 2012 3:57 PM To: "Tomcat Users List" Subject: Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file? Hi Konstantin, I checked all

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-19 Thread Dilip Shah
bernate.c3p0.min_size=1 hibernate.c3p0.max_size=25 hibernate.c3p0.acquire_increment=5 hibernate.c3p0.timeout=1800 hibernate.c3p0.max_statements=50 hibernate.c3p0.idle_test_period=3600 Thanks, Dilip -- From: "Konstantin Kolinko" Sent: Thursday, April 19, 2012 3:21 PM To: "Tomcat Users Li

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-19 Thread Konstantin Kolinko
2012/4/20 Dilip Shah : > Hi Konstantin, > > Thanks for the reply! > > To answer your questions... > * Tomcat version info: > Server version: Apache Tomcat/5.5.28 > Server built:   Jul 24 2009 01:33:09 > Server number:  5.5.28.0 > OS Name:        Linux > OS Version:     2.6.18-53.el5 > Architecture:

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-19 Thread Dilip Shah
ation. Best wishes, Dilip -- From: "Konstantin Kolinko" Sent: Thursday, April 19, 2012 10:14 AM To: "Tomcat Users List" Subject: Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statem

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-19 Thread Konstantin Kolinko
2012/4/19 Dilip Shah : > My Java application (Spring, Hibernate, MySQL) is running in Tomcat 5.5 What version of 5.5.x ? > > After the last set of changes to my application, Tomcat's catalina.out file > is growing very rapidly. With each query it adds a few MBs of INFO and DEBUG > statements to

Re: catalina.out file

2009-10-23 Thread André Warnier
Kaushal Shriyan wrote: Hi, can i change catalina.out to catalina.log or something else. if its possible how is it done ? You are not telling us much to enable us to guess, but trying anyway, you should have a look at the script that starts tomcat on your system, like /etc/init.d/tomcat. -

Re: catalina.out file

2009-10-23 Thread Kaushal Shriyan
On Fri, Oct 23, 2009 at 11:23 PM, Caldarale, Charles R wrote: >> From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] >> Subject: catalina.out file >> >> can i change catalina.out to catalina.log or something else. if its >> possible how is it done ? > > Tomcat itself does not directly use cata

RE: catalina.out file

2009-10-23 Thread Caldarale, Charles R
> From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] > Subject: catalina.out file > > can i change catalina.out to catalina.log or something else. if its > possible how is it done ? Tomcat itself does not directly use catalina.out. Look at the catalina.sh startup script: you'll see a redir

Re: catalina.out

2009-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 2/15/2009 11:57 AM, Mohit Anchlia wrote: > Thanks. There doesn't seem to be mention of catalina.out. Only one > line that it has referes to other catalina. file that tomcat > creates > > 1catalina.org.apache.juli.FileHandler.prefix = catali

Re: catalina.out

2009-02-15 Thread André Warnier
Caldarale, Charles R wrote: From: Mohit Anchlia [mailto:mohitanch...@gmail.com] Subject: Re: catalina.out There doesn't seem to be mention of catalina.out. Tomcat does not use catalina.out directly. There are redirects in the Linux version of the Tomcat startup scripts that send Syste

Re: catalina.out

2009-02-15 Thread Anurag Kapur
Mohit, >From the Tomcat documentation ( http://tomcat.apache.org/tomcat-5.5-doc/logging.html):- The logging.properties shipped with JDK is set to INFO. This file can be located at $JAVA_HOME/jre/lib Thus your default logging level in catalina.out is set to INFO. In order to override this, either

RE: catalina.out

2009-02-15 Thread Caldarale, Charles R
> From: Mohit Anchlia [mailto:mohitanch...@gmail.com] > Subject: Re: catalina.out > > There doesn't seem to be mention of catalina.out. Tomcat does not use catalina.out directly. There are redirects in the Linux version of the Tomcat startup scripts that send System.out

Re: catalina.out

2009-02-15 Thread Mohit Anchlia
Thanks. There doesn't seem to be mention of catalina.out. Only one line that it has referes to other catalina. file that tomcat creates 1catalina.org.apache.juli.FileHandler.prefix = catalina. On Sun, Feb 15, 2009 at 6:54 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Ha

Re: catalina.out

2009-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 2/13/2009 1:13 PM, Mohit Anchlia wrote: > Is there a way to just log SEVERE or ERROR messages to catalina.out? Yes. http://tomcat.apache.org/tomcat-6.0-doc/logging.html Skip the log4j-specific parts unless you are using log4j. You really

Re: catalina.out rotation

2008-10-22 Thread Dave Dykstra
Redhat uses logrotate to rotate catalina.out. /etc/logrotate.d/tomcat5 has this: /var/log/tomcat5/catalina.out { copytruncate weekly rotate 52 compress missingok } - Dave On Tue, Oct 21, 2008 at 05:19:56PM +0100, emerson cargnin wrote: > I had rea

Re: catalina.out rotation

2008-10-21 Thread emerson cargnin
I had read that thread and I share your frustration. And I'm a developer : ) I believe that admlog does the same thing for solaris. We will try to set that up in one of our boxes. thanks PS: andre, are you brazilian too? :) 2008/10/21 André Warnier <[EMAIL PROTECTED]>: > emerson cargnin wrote: >>

Re: catalina.out rotation

2008-10-21 Thread André Warnier
emerson cargnin wrote: Hi again... Has anyone here used Logadm to implement rotation on the catalina.out? http://www.softpanorama.org/Logs/log_rotation_in_solaris.shtml I know i can rotate a log file configure via log4j, but that is useless if catalina.out continues receiving everything. Elimin

Re: catalina.out file

2008-05-27 Thread Filip Hanik - Dev Lists
*http://tinyurl.com/6obbgk* http://tomcat.markmail.org/search/?q=cronolog%20catalina.out#query:cronolog%20catalina.out%20list%3Aorg.apache.tomcat.users+page:1+state:facets Kaushal Shriyan wrote: Hi My Catalina.out file is 20GB, How can i safely remove it and then create it again Thanks and

Re: catalina.out is not reloading

2008-02-11 Thread Vamsavardhana Reddy
I am guessing... Somewhere in the script there should be a ">> catalina.out" to append to catalina.out. Change that to "> catalina.out" so that the old file is automatically rewritten. Or else you may use rotatelogs program that comes with apache http server. See http://httpd.apache.org/docs/2.

Re: catalina.out is not reloading

2008-02-11 Thread David Smith
Sorry guy. Maybe someone else can provide such updates. I'd have to write it as I've never had the need for such functionality. --David persistence k wrote: Thanks Mr.David . Will you please send me a sample start up script to handle renaming or deleting the old catalina.out file. Regards

Re: catalina.out is not reloading

2008-02-11 Thread persistence k
Thanks Mr.David . Will you please send me a sample start up script to handle renaming or deleting the old catalina.out file. Regards, Persistence On 2/11/08, David Smith <[EMAIL PROTECTED]> wrote: > Then you should modify the startup script to handle renaming or deleting > the old file befor

Re: catalina.out is not reloading

2008-02-10 Thread David Smith
Then you should modify the startup script to handle renaming or deleting the old file before starting tomcat. Catalina.out itself is just the redirected standard output from tomcat and tomcat has no control over what the OS does with what it spews out. As a better alternative, configure your

Re: catalina.out is not reloading

2008-02-10 Thread persistence k
Yes, Mr.David. I want each time tomcat's redirects its standard output to catalina.out file, this file should reflect that change and during tomcat start up all the content in the file should be deleted, instead of appending it to previous messages. Right now I'm closing and reopening the file to

Re: catalina.out is not reloading

2008-02-07 Thread David Smith
I'm not clear on what you mean by 'reloading' as catalina.out is just a text file accepting tomcat's redirected standard output. It should simply be appended to as messages are generated. Are you saying you want the file to be deleted and started fresh on every tomcat startup? --David persi

Re: catalina.out hangs in tomcat5.5

2008-01-19 Thread Ben Stringer
On Fri, 2008-01-18 at 20:36 +, Neha Agrawal wrote: > hi >my tomcat5.5 server works correctly with APR > as it showing default web pages for both 8180 and 8443 > ports.. > > but when i try to open catalina.out file in the logs > directory it hangs the terminal..file shows no data.. > when

Re: catalina.out not rolling

2006-10-11 Thread Rizwan Merchant
Hi Shankar, I am not using System.out commands in my webapps. for some reason, the log4j messages are being appended to catalina.out I have log4j set up in my application which sends logging output to a specified file, but it also gets sent to catalina.out How do I stop this? also, is there a

Re: catalina.out not rolling

2006-10-11 Thread Shankar Unni
Rizwan Merchant wrote: So how do I stop tomcat from logging to catalina.out and into a different file? For the webapps themselves, their should have swallowOutput="true". Better still, don't do System.out.println() from your webapps.. -

Re: catalina.out not rolling

2006-10-11 Thread Rizwan Merchant
Thanks for the response. So how do I stop tomcat from logging to catalina.out and into a different file? Basically I want to send all tomcat output to a file that can roll on a daily basis. Any ideas or examples? Thanks, -Riz. David Smith wrote: Catalina.out is the redirected standard output

Re: catalina.out not rolling

2006-10-11 Thread David Smith
Catalina.out is the redirected standard output (Console output in log4j parlance) of tomcat. I don't think you can roll it in log4j. Best bet is to steer as much logging as possible away from catalina.out into a file logger you can roll. --David Rizwan Merchant wrote: Hi, We are trying t

Re: Catalina.out is getting to big

2006-08-22 Thread Markus Schönhaber
Oliver Enders wrote: > I have a problem concerning the size of the catalina.out file. > It is getting to big and I´m not shure where to set the verbosity. > doesent seem to work ?!? Is there a difference to the 4.x. > versions of Tomcat ?? > I´m using the following constelation: > > -SunOS 5.9 > -

Re: catalina.out

2006-04-30 Thread Tim Diggins
kalin mintchev wrote: hi all... how come if i raname catalina.out to catalina.out.OLD and the create a new catalina.out tomcat still writes to catalina.out.old?! I believe that's really to do with the magic of the underlying filesystem and not tomcat-related (think of filesystem names un

Re: Catalina.out gets to big-> Server crashes

2006-02-03 Thread Tim Funk
http://tomcat.apache.org/faq/logging.html#catalina.out -Tim Joost de Heer wrote: now the question I have is now, how can I here setup jsvc so that it uses logrotation, As far as I'm aware catalina.out can't be rotated. For the Tomcat servers I maintain I've written a script that stops/moves

Re: Catalina.out gets to big-> Server crashes

2006-02-03 Thread Joost de Heer
> now the question I have is now, how can I here setup jsvc so that it > uses logrotation, As far as I'm aware catalina.out can't be rotated. For the Tomcat servers I maintain I've written a script that stops/moves catalina.out/gzips catalina.out/starts Tomcat every Sunday night at 4am. Not the mo

Re: Catalina.out gets to big-> Server crashes

2006-02-03 Thread Christian Andersson
I recently came across this problem also (i've read some of the later mails in this discussion also and I'm answering to those too) with a tomcat 5.5.12 installation and using the ext3 filesystem. anyway, my setup is using jsvc from the commons daemon project, and the catalina.out file is defi

RE: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Ralph.Grothe
ent: Thursday, February 02, 2006 12:20 PM > To: Tomcat Users List > Subject: RE: Catalina.out gets to big-> Server crashes > > > Hello Ralph, > > well it's SUSE ES 9. The filesystem is Reiserfs. The system was set up > recently. The server got multiple process

RE: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Tim Lucia
/org/apache/log4j/RollingFileAppende r.html Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 5:32 AM To: Tomcat Users List Subject: Re: Catalina.out gets to big-> Server crashes Hello, sorry, I just clean forgot to tell the vers

Re: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Boris Unckel
> sorry, I just clean forgot to tell the version its 5.5.9. > > I discovered the tomcat-juli.jar in the bin directory > so I suppose its in use. Although I never used it so far. > > So the idea is to switch x4juli.jar and I get the same functionality > as in log4J? That's great because I'm using

RE: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Peter . Neu
MAIL PROTECTED]> > An: > Betreff: RE: Catalina.out gets to big-> Server crashes > Datum: Thu, 2 Feb 2006 11:55:39 +0100 > > Good Morning Pete, > > although I have no Tomcat knowledge whatsoever > (only subscribed to the list in order to learn more and seek for > an answ

RE: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Ralph.Grothe
Good Morning Pete, although I have no Tomcat knowledge whatsoever (only subscribed to the list in order to learn more and seek for an answer to my trivia questions) the fact that your Tomcat crashes when a logfile reached the 2 GB boundary in my opinion has nothing to do with Tomcat but rather the

Re: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Peter . Neu
m using it to log my webapps. So despite this option the only real solution would be to do it with shell scripts in my linux environment? cheers, Pete > --- Ursprüngliche Nachricht --- > Von: "Boris Unckel" <[EMAIL PROTECTED]> > An: "Tomcat Users List" >

Re: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Boris Unckel
Good Morning, > Does anyone know how configure tomcat so that catalina.out only get a size > of 100 MB and then replaces it by a new empty catalina.out? The old one > should be saved under a different name. > There is information missing: Which Tomcat Version? Which logging API is in use? Assum

Re: catalina.out logging

2006-01-18 Thread Markus Schönhaber
sunil goyal wrote: > Catalina.out on my server keeps getting on bigger. Is > there any way to split catalina.out on date basis so > that I have catalina.out being split on a daily basis. http://tomcat.apache.org/faq/logging.html#catalina.out Regards mks