Posted in ColdFusion | Posted on 05-30-2007 | 4,351 views
When grabbing the new ColdFusion 8 server, don't forget to pick up the plugins for Eclipse. Adobe has had CFML plugins for Eclipse for a little while now (although you had to download Flex Builder 2 to get them). But this new version adds some new cool new tools. One of them is the Log Viewer.
Mike Nimer created the log viewer a few years back. I'm not sure if Adobe picked up his code or started fresh, but this tool is now bundled in with the rest of the plugins.
In case you don't know what it does - let me describe it. First you specify a folder to monitor. Typically you will want to monitor your ColdFusion logs folder. Eclipse will list all the log files in the folder. When you select a file, you will see the last few lines displayed.
What's nice though is that as the log file changes, the display is automatically updated. So if you are using cflog for debugging, you can use Eclipse to visually monitor the file. (For Unix guys, you may recognize this as the Tail command.)



Jay
--- Ben
I can cofirm a little. The CF team did pick up my code and take it over. I'm not sure how much they updated or modified it - but they did start with it..
---nimer
Thanks for the article; this log view is great (beats hunting down the file and running a tail on it).
[Add Comment] [Subscribe to Comments]