Diplo Trace Log Viewer is a Developer tree section (in Umbraco 7) or a dashboard plugin (in Umbraco 6) that allows you to easily select and view the contents of the trace logs that Umbraco now generates. The control also allows you to search, order and filter log events (e.g. you may only wish to view Errors or Warnings) all from within Umbraco.
Important: For Umbraco 7 please install version 2.x. For Umbraco 6 please install version 1.3.1
V7 also available from NuGet at https://www.nuget.org/packages/DiploTraceLogViewer/
Trace logs are text files which appear in /App_Data/Logs/ folder and replace the log entries in the umbracoLog table in the database. These trace files contain information that Umbraco and other packages generate, such as errors, warning and information. For instance, if you experience an error or problem within Umbraco then the trace logs are the first place to look for further information.
After installing the package you should see a new dashboard plugin called 'Trace Log Viewer' in the Developer section of your website in the Umbraco backend.
For more information about logging in Umbraco see the Umbraco.Core.Logging.LogHelper class. For more info on this package check my blog post at https://www.diplo.co.uk/blog/web-development/diplo-trace-log-viewer-for-umbraco/
2.4.1 - By popular demand added back machine name parsing, so now shows machine name next to date when the machine name differs from host machine. Also now adds (C) suffix if a file is a Courier log. Changed tree syncing.
2.4.0 - Displays all log files in the /logs/ directory. Ability to select a log by either date or filename. New sortable and searchable table that shows all log files.
Removed legacy support for older log format so now only supports Umbraco 7.4 and up. Use the 7.3 versions if you need to support older Umbraco 7 installations.
2.3.2 - Improvements to detail dialogue
2.3.1 - Fixes a CSS issue that could affect dropdown menus in wider Umbraco
2.3.0 - Improved UI and UX, with new, faster log table viewer and improved filters. Now has ability to "auto poll" the current log file so you can see changes (almost) in real time. Supports the log4net "preserveLogFileNameExtension" - thanks lucasch! Lots of internal rewrites and refactoring to make even spiffier!
2.2.7 - Option to persist filters between log reloads, so you can view multiple log files with your prefered filters always set. Plus even more UI tweaks!
2.2.6 - Lots of little UI tweaks, including Previous and Next buttons for detail dialogue
Now reads the log4Net config in case you've changed path to where logs are generated
If you view logs from a different machine then the machine name is shown as well as date (useful for load balanced sites)
2.2.5 - improved efficiency when reading and parsing log files - with big thanks to Shannon
2.2.4 - tweaked parsing regular expression to be catch corner cases (please report any issues) and added unit tests to the source (available on Github)
2.2.3 - work around for an Angular template caching issue in Umbraco 7.3.0 that was causing 404s on ng-table header (thanks Jeavon for help)
2.2.2 - features improved security (thanks to Sebastiaan Janssen) and his pen testing!
New in 2.2.1 - fixed a bug where some log entries where incorrectly parsed.
New in 2.2 - improved UI (with a bigger detail view on wide screens), forward compatability with the new log format in Umbraco 7.3.0, lots of little tweeks.
New in v2.1 - improved parsing and performance enhancements (thanks to Sebastiaan Janssen). Ability to search log messages on Google, Our Umbraco and more! Also available as a NuGet package at https://www.nuget.org/packages/DiploTraceLogViewer/ (thanks to Jeavon Leopold).
New in v2.0 - completely rewritten from scratch for Umbraco 7 using AngularJS and WebApi controllers. Now faster, quicker and more beautiful! :)
New in v1.2/3 - fixed bug where long error messages where being truncated at first newline. Thanks kristian schneider for spotting this. Added better persistence. Made scheme agnostic so will work under HTTPS.
New in v1.1 - persistence. The log viewer now remembers the state of sort-columns, pagination and search terms between viewing log files.