Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

This is my first question to apple.stackexchange, hopefully it's on topic :)

As a developer, there are frequently things written to log files (exceptions or other status information) that I'm interested in. My current workflow is that I simply tail -f /path/to/log when I know that I'm doing something where I may want to see the output of a log file.

But because of the nature of Magento development in particular, and I'd imagine most development work in general, many times you're not exactly aware of which log file might be getting written to, or even if you are, you may not remember to tail it and get stuck scratching your head at why something is happening or where to get some feedback on what's going on in your system.

I've been daydreaming about a tool that I hope may exist - that would pop a little notification bubble when a log file is written to, and maybe when you click on it, it pops a terminal tail -f'ing it for you. And for bonus points maybe even auto cascades terminals when you tail more than one log file.

Does anything like this exist?

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

The console viewer app has bounce notifications in the preferences for that app.

Console app preferences

You'll want to open a window with each log you are watching, but this app should cover most use cases of log file watching. Since Console retains window settings when you quit the App, you should only need to open the files once (or worst case, make a folder with aliases to each log you want and open them all from Finder to get a head start on the logs you like to watch). I'll also plug the Divvy tool for managing many windows. Watch the video on their site - it's very powerful if you want to set regions for windows rapidly.

share|improve this answer
    
Wow that's beautiful. There are potentially 8 to 10 log files that I work with regularly. Would there also be a quick (one-click) way to launch all 10 of those log windows at once? Then I could just fire them up when I start working and get a nice bounce if anything logs. –  kalenjordan Dec 19 '12 at 19:52
2  
Ah I get it you just add your log files into the console app. This is IT!!! AWESOME. This is one of those things I'm going to look back on and wonder how in the world I lived without. –  kalenjordan Dec 19 '12 at 19:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.