tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: catalina error file
Date Tue, 08 Sep 2009 22:03:12 GMT
On 08/09/2009 20:37, André Warnier wrote:
> David Smith wrote:
> ...
>>
>> Pure speculation on my part, but maybe the OP is looking for log
>> rotation.
>>
> Nah, much too simple. And so are syslog and other Windows Event logs.
> Neither did the OP tell us on which platform this would be, nor really
> even if it is related to Tomcat (though I admit that catalina is a clue).
>
> I was rather thinking of a new file open mode, where one could say "I
> want this file to never exceed 10000 lines". Then as you append line
> 10001, line 1 gets popped off to nowhere automatically.

To make it circular you'd have to put the line back on at the other end 
of the file wouldn't you?

p


> Right now we have "read", "write", and "append", and we've had them for
> many years. Any proposals for a new name for this new mode ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message