WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Log Viewer

This plugin provides an easy way to view *.log files directly in the admin panel.

** FULLY COMPATIBLE WITH MULTISITE INSTALLATIONS **

** The plugin is recommended to use only in development. **

This plugin provides an easy way to view any *.log files directly in admin panel. Also you can perform simple actions like empty the file or deleting it.

To activate WordPress logging to file you have to set define( 'WP_DEBUG_LOG', true ); in your wp-config.php file. In Multisite installations you have to be Super Admin for using this plugin. Additionally in Singlesite installations you have to have the 'edit_plugins' capability which is by default only granted to admins.

There is an first integration for a panel to the Debug Bar Plugin. The integration could be deactivated by setting ENABLE_DEBUGBAR_INTEGRATION to false in log-viewer.php.

If you're experiencing problems please report through support forum or check FAQ section. If you have suggestions feel free to submit your view. Log-Viewer is also listed on the excellent Developer Plugin which comes directly by the awesome guys at Automattic!

Known limitations / Bugs:

  • Autorefresh is currently fixed at 15 seconds if enabled - will let you choose custom timing soon
  • after an action in files view a wp_redirect should be called but there's already output present so not working. Workaround is to unset all variables.
  • User settings stored "manually"; switch to wordpress own *_user_setting functions but currently problems on cookie/header_sent limiting
  • User settings stored in wp_options ( thats ok ) but on multisite installations they are stored in each wp_*_options table

ToDo:

  • Adding Dashboard functionality ( and/or File View in Dashboard menu (WP_NETWORK_ADMIN) )
  • Translations ( DE )
  • Cleanup on uninstalling
  • Message if WP_DEBUG not set ( on activation? )

Requires: 3.4 or higher
Compatible up to: 3.9.1
Last Updated: 2014-5-4
Downloads: 15,368

Ratings

4 stars
4.2 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
0,1,0
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1