Support » Plugin: Shibboleth » Once enabled, where are logs stored?

  • Version 2.1 of the plugin says it’s added various logging options, and there is indeed a new tab in the Shibboleth plugin’s admin screen where logging options can be set.

    Where do the logs actually go, though? I can’t readily find anything in the WordPress admin interface that looks relevant, and I wouldn’t expect this plugin to start adding things to the Web server logs. (Too many different Web servers, it’d be hard to support.)

    I skimmed the code, and at first glance I didn’t see anything that looked like it was actually using the logging settings, but I’m far from an expert developer and may not know what to look for.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Jonathan Champ


    I believe you need to enable WP_DEBUG_LOG and possibly WP_DEBUG, see:

    Please know that this will write to /wp-content/debug.log by default, which is web accessible.

    For now, I’ll mark this as resolved, but please let us know if that does not answer your question.

    Ah. It wasn’t really clear (to me at least) that, in addition to enabling the logging settings in the plugin, that you’d also have to set some other settings (with other implications beyond the scope of the plugin). I thought you’d just log these events in the database somewhere. 🙂 Thanks for the quick response. Based on this, I’ll have to really think about whether the side-effects of this logging would outweigh the benefits to me.

    Plugin Author michaelryanmcneill


    This uses PHP’s error_log() function. It logs directly to the PHP error log, which is supported anywhere that PHP runs. I hope that helps to clarify.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Once enabled, where are logs stored?’ is closed to new replies.