ColdFusion Error Log Viewer – Realtime

posted April 12th 2005 at 2110 EDT in All, ColdFusion

This is how I keep track of my coldfusion server. It is a simple script which will auto-refresh every few minutes and show in red any new errors from the application.log file. This has saved me several times, and works best if you have a spare computer which you can have ‘in view’ but not right in front of you.

ColdFusion Code

Go grab it: log_view.cfm

Things to Note

The script is set to only refresh every 7 minutes during work hours. You will also have to (obviously) tell it where your logfiles are. It uses windows native tail command from the UnxUtils package; you will also obviously need to give a correct path to that program.

3 Responses

  1. #1 Peter
    5 years, 3 months ago

    I guess the hope is that you won’t need to use this? :)

  2. #2 Jason
    4 years, 4 months ago

    Another utility i like is called cfmxtrace at http://www.vanzwijndregt.com/trace/cfmxtrace.html i use it for all my applications and it works great.

  3. #3 Mark
    2 years, 5 months ago

    PERFECT!!!
    Thank you!!!