Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Will only work on *.log files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Will only work on *.log files
Authored by: pascalpp on Jun 05, '01 04:08:12PM

Apparently, the Console application refuses to open any files which don't end in '.log'. Does anyone know a way to work around this?



[ Reply to This | # ]
Will only work on *.log files
Authored by: atl on Jun 06, '01 02:28:16PM
Well, this is clearly a work-around. In my /etc/httpd/httpd.conf file, for example, I change the appropriate line for access logs on my web server from:
CustomLog /var/log/httpd/access_log common
to:
CustomLog /var/log/httpd/access.log common
Not satisfactory for your use, probably, but very nifty to watch as people hit your server in real-time...

[ Reply to This | # ]
Will only work on *.log files
Authored by: allenhuffman on Dec 02, '01 01:32:49AM

Mac OS 10.1.1 does not seem to require .log files. I'm glad I found this tip -- I was tired of opening three Terminals every time I logged in and manually doing the "tail -f" stuff :)



[ Reply to This | # ]
Will only work on *.log files
Authored by: tsaar on Oct 18, '02 04:04:29PM

Confirmed But get this:

I had Console set up to have open:

/var/log/httpd/access_log
/var/log/ftp.log
/var/log/system.log

Console remembers this on opening and displays these.
I did this in 10.1, then upgraded to 10.2
Console _still_ opened access_log
Until I closed it by mistake...

Kinda sucks. How do we fix it?



[ Reply to This | # ]
Will only work on *.log files
Authored by: tsaar on Oct 19, '02 07:31:15AM

Okay: You can open any log file just by typing the full path to it.

So you'd go
file - open log - and then type
/var/log/httpd/access_log

This works fine!



[ Reply to This | # ]