WordPress-Simple-History icon indicating copy to clipboard operation
WordPress-Simple-History copied to clipboard

Temporarily disable logging

Open bonny opened this issue 2 years ago • 0 comments

Add a way to disable logging during a short while.

This can be useful when:

  • Importing many things using PHP the log can be overwhelmed with data.

  • Making many changes on a site, for example changing hundreds of affiliate links.

Only admins should be allowed to modify this using the GUI. And when the setting is enabled a message should appear in the log + maybe as an "notification" on the log screen.

Enable in the GUI in the settings or with code. Something like Simple_History::disable_logging() and then Simple_History::enable_logging().

bonny avatar Aug 11 '22 06:08 bonny