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.

I am admin! Why can't i see the Tools > Log Viewer menu entry?

If your on a Multisite installation you have to be a Super Admin. If your on a Singlesite installation you additionally have to have the 'edit_plugins' role.

But i am a Super Admin with super powers and still can't see the Tools > Log Viewer menu entry!

Pow! Slam! Donk! ... as stated you have to have 'edit_plugins' role. There are WordPress constants like 'DISALLOW_FILE_EDIT' which deactivates this even for the greatest of the admins. Have a look at http://codex.wordpress.org/Roles_and_Capabilities or do a websearch for 'wordpress.org DISALLOW_FILE_EDIT' and have a talk to your site maintainer.

How to enable debug.log

Simply add define( 'WP_DEBUG_LOG', true ); in your wp-config.php file. This is not recommended on production environments!

I changed my error_log to something other than WP default

That's ok ... as long as the file extension is .log and it's located in WP_CONTENT_DIR. Other sources or extensions aren't supported for now.

Can i show other files?

Yes you can! As long as they are located in WP_CONTENT_DIR and have a .log extension. Other sources or extensions aren't supported for now.

In Files View i only get the error message "Could not load file." or "No files found."

It looks like there isn't a *.log file in WP_CONTENT_DIR. Which could mean there are no errors. Yay! If there are files, it could be that they are not readable ( check your permissions ) or it's a bug ... Booo!

I don't see File Actions options

The options are only displayed if the file is writeable. Check your permissions.

Requires: 3.4 or higher
Compatible up to: 3.9.2
Last Updated: 2014-5-4
Downloads: 17,412

Ratings

4 stars
4.3 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