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 -- 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. >
I'm often frustrated by this convention as well. I end up having to hit tab multiple times because there are several months and many days of log files in these directories. Those keystrokes add up and it's often no faster to use tab than it is to just type the full filename. If, on the other hand, one could type "less lo<TAB>/lo<TAB>", I could work faster and more efficiently. I don't find this question insignificant at all. I'd like to know the answer myself. Jon Brisbin Portal Webmaster NPC International, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org