The <Logger> under 5.0.x uses YYYY-MM-DD format in the filename, so this
would change each day, would that give you what you need? See "FileLogger"
under "Standard Implementation" at:
http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html

PS note that <Logger> is deprecated in 5.5.x

> -----Original Message-----
> From: Tom Burke [mailto:[EMAIL PROTECTED] 
> Sent: Monday 31 October 2005 11:59
> To: Tomcat Users List
> Subject: Tomcat logging - Persistence of Logs
> 
> 
> I have a problem with log files. I have a customer who has 
> Tomcat 5.0.28 
> running on Windows 2003 Server. The main output is being logged to 
> stdout.log in the tomcat/logs directory - this is the Windows 
> equivalent 
> of catalina.out on a linux/unix system.
> 
> The problem is that for good reasons the customer is stopping & 
> restarting Tomcat every night (at our recommendation). This 
> is a new app 
> and it's not entirely bug-free yet, so giving thjem a clean 
> start every 
> day is useful. The trouble is that this also recreates 
> stdout.log, which 
> is a pity as sometime we aren't being alerted to problems 
> until the day 
> after, by which time the relevant log has disappeared.
> 
> Does anyone know how to make the Windows stdout.log file persistent?
> 
> Tom Burke 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to