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


Click here to return to the 'Automatically empty Apache error log files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically empty Apache error log files
Authored by: nhajratw on Oct 04, '04 11:01:33AM

A good way to monitor log files so you don't have to keep reloading a web browser is to use the 'tail' command. From the Terminal, type:

tail -100f logfile_name

This will give you a realtime look into your log file.

Open multiple terminals for multiple log files.



[ Reply to This | # ]
Automatically empty Apache error log files
Authored by: TvE on Oct 04, '04 11:30:51AM

Just my comment - except you beat me to it :-)



[ Reply to This | # ]
Automatically empty Apache error log files
Authored by: mhagers on Oct 04, '04 11:53:41AM

What's wrong with the good old console app?
automatically does the tail command for you, with the added bonus that you can wipe the window clean to start afresh.
I always have it open whenever I'm writing php code.



[ Reply to This | # ]
Automatically empty Apache error log files
Authored by: bkazez on Oct 04, '04 01:43:41PM

There's nothing wrong with the Console except that it means needing to have one extra app open. It's simpler to use tail -f.

---
http://ben.kazez.com/



[ Reply to This | # ]