Re: rotate catalina.out

2017-04-13 Thread Rainer Jung
Am 13.04.2017 um 14:57 schrieb shivashankar manukondu: Is there any possibility loss the log information in case if we use any external tools like Log4j, logrotete I suggest you make the adjustment to your conf/logging.properties that I mentioned. You should also make sure, that no applica

Re: rotate catalina.out

2017-04-13 Thread shivashankar manukondu
Is there any possibility loss the log information in case if we use any external tools like Log4j, logrotete Regards, Siva On Wed, Apr 12, 2017 at 4:32 PM, Rainer Jung wrote: > Am 12.04.2017 um 16:15 schrieb Mark Thomas: > >> On 12/04/17 14:13, shivashankar manukondu wrote: >> >>> Hi, >>> >

Re: rotate catalina.out

2017-04-12 Thread Rainer Jung
Am 12.04.2017 um 16:15 schrieb Mark Thomas: On 12/04/17 14:13, shivashankar manukondu wrote: Hi, Do we have any default catalina.out rotation in the tomcat8 without using any external tool like Log4J or logrotate. No. But since catalina.out is

Re: rotate catalina.out

2017-04-12 Thread Mark Thomas
On 12/04/17 14:13, shivashankar manukondu wrote: > Hi, > > Do we have any default catalina.out > rotation in the tomcat8 > without using any external tool like Log4J or logrotate. No. But since catalina.out is only what is written to stdout is shou

rotate catalina.out

2017-04-12 Thread shivashankar manukondu
Hi, Do we have any default catalina.out rotation in the tomcat8 without using any external tool like Log4J or logrotate. Also should not be loss any logs while rotating. -- Regards Manu

RE: rotate catalina.out without restart?

2016-02-02 Thread RAY, DAVID
> From: Harald Dunkel [mailto:harald.dun...@aixigo.de] > Subject: Re: rotate catalina.out without restart? > OK, then the question is why does catalina.sh write to catalina.out > at all? stdout/stderr of the script would be sufficient. >And where would you have the output go whe

Re: rotate catalina.out without restart?

2016-02-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harald, On 2/2/16 3:06 AM, Harald Dunkel wrote: > Hi Christopher, > > On 02/01/2016 05:07 PM, Christopher Schultz wrote: >> Harald, >> >> On 2/1/16 10:42 AM, Harald Dunkel wrote: >>> would it be possible to integate apache's rotatelogs into >>> cat

RE: rotate catalina.out without restart?

2016-02-02 Thread Caldarale, Charles R
> From: Harald Dunkel [mailto:harald.dun...@aixigo.de] > Subject: Re: rotate catalina.out without restart? > OK, then the question is why does catalina.sh write to catalina.out > at all? stdout/stderr of the script would be sufficient. And where would you have the output go when T

Re: rotate catalina.out without restart?

2016-02-02 Thread Harald Dunkel
Hi Christopher, On 02/01/2016 05:07 PM, Christopher Schultz wrote: > Harald, > > On 2/1/16 10:42 AM, Harald Dunkel wrote: >> would it be possible to integate apache's rotatelogs into >> catalina.sh to support daily rotation of catalina.out without >> restart? > > Nope. > :-(. >> This would be

Re: rotate catalina.out without restart?

2016-02-01 Thread Rainer Frey (Inxmail GmbH)
> On 01.02.2016, at 16:42, Harald Dunkel wrote: > > Hi folks, > > would it be possible to integate apache's rotatelogs > into catalina.sh to support daily rotation of catalina.out > without restart? On linux, (system) logrotate ha a “copytruncate” option that could be used. You’d need to check

Re: rotate catalina.out without restart?

2016-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harald, On 2/1/16 10:42 AM, Harald Dunkel wrote: > would it be possible to integate apache's rotatelogs into > catalina.sh to support daily rotation of catalina.out without > restart? Nope. > This would be #1 on my wish list for version 9. If you u

rotate catalina.out without restart?

2016-02-01 Thread Harald Dunkel
Hi folks, would it be possible to integate apache's rotatelogs into catalina.sh to support daily rotation of catalina.out without restart? This would be #1 on my wish list for version 9. Keep on your good work Harri - To unsub

Re: Log rotate catalina.out

2011-04-28 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Igor, sorry for answering this late, I was quite busy the last days On 04/19/2011 09:04 AM, Igor Cicimov wrote: > Hi Thomas, > > Yes I have reference in the catalina.sh to the log4j.properties file: > > LOGGING_CONFIG="-Djava.util.logging.co

Re: Log rotate catalina.out

2011-04-19 Thread Igor Cicimov
Hi Thomas, Yes I have reference in the catalina.sh to the log4j.properties file: LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/log4j.properties" this is what I get in the catalina.out on restart: INFO: Configuring Log4j from File: /data/apache-tomcat-6.0.29/webapps/applica

Re: Log rotate catalina.out

2011-04-17 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Igor, On 04/18/2011 08:23 AM, Igor Cicimov wrote: > Hi Thomas, > > First thanks for your reply. This is the relevant section in the > $CATALINA_BASE/conf/log4j.properties file: Do you use the JAva System Property - -Dlog4j.configuration=file:$CAT

Re: Log rotate catalina.out

2011-04-17 Thread Igor Cicimov
Hi Thomas, First thanks for your reply. This is the relevant section in the $CATALINA_BASE/conf/log4j.properties file: log4j.debug=true log4j.rootLogger=INFO, CATALINA, CONSOLE . . . log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.encoding=UTF-8 log4j.appender.CONSO

Re: Log rotate catalina.out

2011-04-17 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Igor, On 04/18/2011 07:38 AM, Igor Cicimov wrote: > I have a question about rotating catalina.out file. Is there any way to > accomplish this through Tomcat without using external tool like logrotate > for example as shown in the following thread: