tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Way to generate a "localhost.log" instead of "localhost-4-20-2010.log"?
Date Mon, 19 Apr 2010 20:42:12 GMT
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 generate simply "localhost.log" for whatever day today is?  If
> not, does anyone know a shell short cut where I can just type in something
> like "vim ~/localhost.log" and see the most current log without having to
> specify today's date?

You know about using the tab key in shell?
Not being bothered to fill in the right filename seems a bit lame.


p



Mime
View raw message