|
|
Display realtime log files automatically
You might also be able to incorporate something like the setup I use for MkConsole. It's pretty flexible, so you could probably adapt the method to work with Terminal or Console somehow. A shell script set as a login item -F tails all files in a folder of symlinks to log files I want to monitor (this works with GNU tail; not sure about the default tail). This gets redirected through a sed filter into a single log file that you can monitor for all the logs. That way you have only one log file to watch, and it follows new files when they're rotated. etc. Think it will automatically pick up a new file when it appears at the location referenced by the symlink.
With the sed filter you can also reformat the main log file to make it more readable. Mine ends up looking something like this:
Makes it pretty easy to follow what's going on in a number of logs at once. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.24 seconds |
|