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

Click here to return to the 'Use as a tool for code testing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use as a tool for code testing
Authored by: albertoricart on Nov 17, '05 08:16:43AM

Haha! - This is a great hint. While there are many apps that detect when the file is changed from underneath, the ability to mark the file and do other things is great. As a developer, I end up eating log files more often than not, because it is an useful way of testing/debugging. This hint makes it more palatable.

The only bad thing is that you cannot drag files into Console's dock icon to open them, but that should be easily fixed with a couple changes to its Info.plist.

[ Reply to This | # ]
Use as a tool for code testing
Authored by: adrianm on Nov 17, '05 09:30:45AM
Just hold opt+cmd when you drop on the icon - it will load it anyway.

This is prob a hint in itself - you can generally drop anything on anything if you hold opt+cmd....

The Console app is really great though, and much more useful than tail -f from terminal, IMO.

I have an alias in my shell for easy opening of files in Console:

alias con='open -a Console '
This is in zsh, but I believe the syntax is the same for bash.

I then just type con logfile to tail the file.

[ Reply to This | # ]

Use as a tool for code testing
Authored by: ileadyouth on Nov 18, '05 06:09:06AM

This is a great hint, I have been using it for a while now when working with logs for my web development.

I can open access/error logs from apache and drag them to the dock icon and they open up - what kind of log files arent working for you? These are all with the extension .log, and Tiger already has it built in to handle those for as apache is already installed in the OS (so they are the same log files - even if using an external web sever)

[ Reply to This | # ]