WPOpenID debug messages in PHP logs

Have just updated this site to the most recent version of WordPress, which was as easy as ever ;-) I do like the new admin interface too!

However on upgrading I noticed quite a large PHP error_log file which seems to consist mainly of messages like this:

[03-Apr-2008 08:46:31] -------------------wpopenid-------------------
[03-Apr-2008 08:46:31] WPOpenID Status: file:error_log [info]: Logging errors via PHP's
error_log faculty to: error_log
[03-Apr-2008 08:46:31] WPOpenID Status: userinterface hooks: Enabled (finished including
and instantiating, passing control back to wordpress)

Turns out that debugging for WPOpenID is on by default, and you can only change the setting by changing the code – rather than through the admin pages :-(

Anyway, all I needed to do to stop the constant entries into the log was change the \wpopenid\openid-registration.php file so that WORDPRESSOPENIDREGISTRATION_DEBUG was set to false (line 20).

Leave a Reply

*