Konstantin Kolinko wrote:
2010/4/20 André Warnier a...@ice-sa.com:
I suggest a simple way whereby to tell Tomcat (optionally) just /not/ to
rotate its logfiles itself, and to always write to a fixed filename.
(an additional property in logging.properties ?)
There exists under Linux the
2010/4/21 André Warnier a...@ice-sa.com:
But could you indicate where exactly this has to be set in the standard
vanilla Tomcat logging.properties file (or elsewhere) to achieve the not
rotate aspect ?
It is just another implementation of java.util.logging.Handler, like
the ConsoleHandler that
Hi,
I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in my $CATALINA_HOME/logs
directory, Tomcat produces a localhost*log file with the date in the file
name for each day, for example -- localhost.2010-04-19. Is there a way to
get Tomcat to generate simply localhost.log for whatever day today
Hmm. As the log files will alpha-sort by date, something like vim `ls
~/localhost.log* | tail -1` might do it. Beware - my shell script is rusty
at best.
- Peter
On 19 April 2010 15:29, laredotornado laredotorn...@gmail.com wrote:
Hi,
I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in
On 19/04/2010 15:29, laredotornado wrote:
Hi,
I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in my $CATALINA_HOME/logs
directory, Tomcat produces a localhost*log file with the date in the file
name for each day, for example -- localhost.2010-04-19. Is there a way to
get Tomcat to
On Apr 19, 2010, at 3:42 PM, Pid wrote:
On 19/04/2010 15:29, laredotornado wrote:
Hi,
I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in my $CATALINA_HOME/logs
directory, Tomcat produces a localhost*log file with the date in the file
name for each day, for example --
Pid wrote:
On 19/04/2010 15:29, laredotornado wrote:
Hi,
I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in my $CATALINA_HOME/logs
directory, Tomcat produces a localhost*log file with the date in the file
name for each day, for example -- localhost.2010-04-19. Is there a way to
get Tomcat
On 19/04/2010 22:32, André Warnier wrote:
I disagree.
The point raised by the OP above is one that bothers a lot of people.
The lame bit is the way in which standard out-of-the-box Tomcat
generates its logfiles, and their rotation, inflexibly.
And yes, I know one can implement log4j and do
Mark Thomas wrote:
On 19/04/2010 22:32, André Warnier wrote:
I disagree.
The point raised by the OP above is one that bothers a lot of people.
The lame bit is the way in which standard out-of-the-box Tomcat
generates its logfiles, and their rotation, inflexibly.
And yes, I know one can
On 19/04/2010 23:11, André Warnier wrote:
Mark Thomas wrote:
On 19/04/2010 22:32, André Warnier wrote:
I disagree.
Fair enough.
The point raised by the OP above is one that bothers a lot of people.
I don't like juli logging at all, but hitting tab a couple of keys
isn't that traumatic.
2010/4/20 André Warnier a...@ice-sa.com:
I suggest a simple way whereby to tell Tomcat (optionally) just /not/ to
rotate its logfiles itself, and to always write to a fixed filename.
(an additional property in logging.properties ?)
There exists under Linux the logrotate utility, which is
Here's a Linux script to remove log files older than seven days:
find /var/tomcat5/logs -daystart -mtime +7 -type f -exec rm '{}' \;
Just in case anyone might find it useful.
-Terence Bandoian
-
To unsubscribe, e-mail:
12 matches
Mail list logo