{"id":40470,"date":"2015-12-05T15:56:40","date_gmt":"2015-12-05T15:56:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/developer-loggers-for-simple-history\/"},"modified":"2025-09-15T07:32:30","modified_gmt":"2025-09-15T07:32:30","slug":"developer-loggers-for-simple-history","status":"publish","type":"plugin","link":"https:\/\/dsb.wordpress.org\/plugins\/developer-loggers-for-simple-history\/","author":5932697,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.5.1","stable_tag":"0.5.1","tested":"6.4.8","requires":"4.4","requires_php":"","requires_plugins":null,"header_name":"Developer Loggers for Simple History","header_author":"P\u00e4r Thernstr\u00f6m","header_description":"","assets_banners_color":"","last_updated":"2025-09-15 07:32:30","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/simple-history.com\/sponsor\/","header_plugin_uri":"https:\/\/github.com\/bonny\/Developer-Loggers-for-Simple-History","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":400,"downloads":7901,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"0.2":{"tag":"0.2","author":"eskapism","date":"2015-12-22 09:09:13"},"0.3":{"tag":"0.3","author":"eskapism","date":"2016-02-14 15:17:19"},"0.3.1":{"tag":"0.3.1","author":"eskapism","date":"2016-02-29 21:41:08"},"0.3.2":{"tag":"0.3.2","author":"eskapism","date":"2016-05-06 18:47:38"},"0.3.3":{"tag":"0.3.3","author":"eskapism","date":"2016-06-14 17:14:42"},"0.3.4":{"tag":"0.3.4","author":"eskapism","date":"2016-06-14 17:33:59"},"0.4":{"tag":"0.4","author":"eskapism","date":"2016-08-09 08:26:28"},"0.4.1":{"tag":"0.4.1","author":"eskapism","date":"2016-08-09 12:26:11"},"0.5":{"tag":"0.5","author":"eskapism","date":"2016-11-25 15:51:44"},"0.5.1":{"tag":"0.5.1","author":"eskapism","date":"2025-09-15 07:32:30"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","0.3","0.3.1","0.3.2","0.3.3","0.3.4","0.4","0.4.1","0.5","0.5.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1301156,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1301156,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1301156,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1436551,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":1436551,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":1436551,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"<p>Enable the loggers you want in Settings \u00bb Simple History \u00bb Developer loggers.<\/p>","2":"<p>Example output of the WordPress Cron debug logger.<\/p>","3":"<p>Example output of the WPMail logger. You can see the subject, who the mail is sent to, and the contents of the body.<\/p>","4":"<p>Example output form the HTTP API logger. View method and target URL.<\/p>","5":"<p>Details from the HTTP API logger. Even more details here, like all the headers in the response and also the full response.<\/p>","6":"<p>Example output from the WordPress post to Slack Logger. Here you can see me failing to login, then succeeding to login, updating a plugin, and finally I log out.<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2679,2275,267,1522,23408],"plugin_category":[41,59],"plugin_contributors":[78092],"plugin_business_model":[],"class_list":["post-40470","plugin","type-plugin","status-publish","hentry","plugin_tags-debugging","plugin_tags-developer","plugin_tags-email","plugin_tags-logging","plugin_tags-simple-history","plugin_category-communication","plugin_category-utilities-and-tools","plugin_contributors-eskapism","plugin_committers-eskapism"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/developer-loggers-for-simple-history.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/developer-loggers-for-simple-history\/assets\/screenshot-1.png?rev=1301156","caption":"<p>Enable the loggers you want in Settings \u00bb Simple History \u00bb Developer loggers.<\/p>"},{"src":"https:\/\/ps.w.org\/developer-loggers-for-simple-history\/assets\/screenshot-2.png?rev=1301156","caption":"<p>Example output of the WordPress Cron debug logger.<\/p>"},{"src":"https:\/\/ps.w.org\/developer-loggers-for-simple-history\/assets\/screenshot-3.png?rev=1301156","caption":"<p>Example output of the WPMail logger. You can see the subject, who the mail is sent to, and the contents of the body.<\/p>"},{"src":"https:\/\/ps.w.org\/developer-loggers-for-simple-history\/assets\/screenshot-4.png?rev=1436551","caption":"<p>Example output form the HTTP API logger. View method and target URL.<\/p>"},{"src":"https:\/\/ps.w.org\/developer-loggers-for-simple-history\/assets\/screenshot-5.png?rev=1436551","caption":"<p>Details from the HTTP API logger. Even more details here, like all the headers in the response and also the full response.<\/p>"},{"src":"https:\/\/ps.w.org\/developer-loggers-for-simple-history\/assets\/screenshot-6.png?rev=1436551","caption":"<p>Example output from the WordPress post to Slack Logger. Here you can see me failing to login, then succeeding to login, updating a plugin, and finally I log out.<\/p>"}],"raw_content":"<!--section=description-->\n<p>Bring more loggers to <a href=\"https:\/\/simple-history.com\">WordPress user history plugin Simple History<\/a>.\nThat are useful for developers during development of a site or to maintain a live site.<\/p>\n\n<h3>Important<\/h3>\n\n<p>Please note that this plugin is no longer actively maintained and only receives security fixes.<\/p>\n\n<h3>Modern and up to date alternatives<\/h3>\n\n<p>For an up to date alternative please see the <a href=\"https:\/\/simple-history.com\/add-ons\/debug-and-monitor\/\">Debug &amp; Monitor add-on<\/a> which logs WP REST API requests, sent emails, HTTP API requests, and WP cron jobs.<\/p>\n\n<h3>Get more features with Simple History Premium<\/h3>\n\n<p>Need advanced WordPress audit logging capabilities? Simple History Premium extends your site monitoring with powerful features:<\/p>\n\n<p><strong>Enhanced WordPress Activity Logging:<\/strong><\/p>\n\n<ul>\n<li><strong>Advanced Analytics Dashboard<\/strong> \u2013 Comprehensive stats and visual activity tracking<\/li>\n<li><strong>Custom Event Logging<\/strong> \u2013 Add manual entries and notifications to your audit trail<\/li>\n<li><strong>Stealth Mode<\/strong> \u2013 Control user access with granular permissions<\/li>\n<li><strong>Flexible Log Retention<\/strong> \u2013 Configure automatic cleanup or keep logs indefinitely<\/li>\n<li><strong>Data Export Tools<\/strong> \u2013 Export logs in CSV\/JSON format for analysis<\/li>\n<li><strong>Security Features<\/strong> \u2013 IP anonymization and login attempt location tracking<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/simple-history.com\/premium\/\">\u00bb <strong>Get Simple History Premium<\/strong><\/a><\/p>\n\n<h3>Included loggers and plugins<\/h3>\n\n<p><strong>Post to Slack<\/strong><\/p>\n\n<p>All your events is posted to a <a href=\"https:\/\/slack.com\/\">Slack<\/a> channel of your choice, using an <a href=\"https:\/\/api.slack.com\/incoming-webhooks\">incoming webhook<\/a>. Yes, with this plugin enabled\nthere is no need what so ever to ever leave Slack to see what's happening on your site or the site of your\nclients or... well, on any site where you have Simple Histor and this plugin enabled.<\/p>\n\n<p><strong>WP_Mail-logger<\/strong><\/p>\n\n<p>See all mails sent with wp_mail(), no matter what the recipient address is.\nchangelog<\/p>\n\n<p><strong>404 logger<\/strong><\/p>\n\n<p>View page visits that load the 404 template.<\/p>\n\n<p><strong>JavaScript error logger<\/strong><\/p>\n\n<p>See what JavaScript errors users that visit your site is getting.<\/p>\n\n<p><strong>SystemLog logger<\/strong><\/p>\n\n<p>Log all messages from Simple History to the syslog on the server. With this logger enabled there is no need to use the beautiful GUI of Simple History ;).<\/p>\n\n<p><strong>HTTP API logger<\/strong><\/p>\n\n<p>Log all usage of HTTP calls from functions like wp_remote_post() and wp_remote_get().<\/p>\n\n<p>You can the URL requested, the arguments posted and the full returned result, including server headers.<\/p>\n\n<p>The time for the request to complete is also logged. Great for debugging!<\/p>\n\n<!--section=changelog-->\n<h3>0.5.1 (September 2025)<\/h3>\n\n<ul>\n<li>Security fix: Fixed Local File Inclusion vulnerability (CVE-2025-10050) by adding proper sanitization to logger slug parameters. Thanks to Jonas Benjamin Friedli for responsible disclosure via Wordfence.<\/li>\n<\/ul>\n\n<h3>0.5 (November 2016)<\/h3>\n\n<ul>\n<li>Add notice in admin that <a href=\"https:\/\/simple-history.com\">Simple History<\/a> must be installed and activated to use this plugin.<\/li>\n<li>Add some very basic Travis CI tests, so the plugin is less likely to cause any obvious errors.<\/li>\n<li>The Available Updates Logger has now moved to the main Simple History plugin, because it's useful for most users and not only admins.<\/li>\n<li>Added filter <code>simple_history\/developer_loggers\/enabled_loggers<\/code> to modify what plugins are enabled.<\/li>\n<li>Added filter <code>simple_history\/developer_loggers\/slackit\/settings<\/code> to modify the settings of the Slackit logger.<\/li>\n<li>Added <code>examples.php<\/code> with some examples of filter usage.<\/li>\n<\/ul>\n\n<h3>0.4.1 (August 2016)<\/h3>\n\n<ul>\n<li>Check that the <code>sys_getloadavg()<\/code> exists before trying to use. Could cause error on Windows.<\/li>\n<\/ul>\n\n<h3>0.4 (August 2016)<\/h3>\n\n<ul>\n<li>Logger for Limit Logins Attempts has moved to Simple History, so more users can benefit from it.<\/li>\n<li>When a plugin update is found: use the english name for the plugin, instead of the translated name.<\/li>\n<\/ul>\n\n<h3>0.3.4 (June 2016)<\/h3>\n\n<ul>\n<li>Bump up requirement to 5.4 because I'm to tired to write code for 5.3<\/li>\n<\/ul>\n\n<h3>0.3.3 (June 2016)<\/h3>\n\n<ul>\n<li>Fixed notice warning in post to Slack<\/li>\n<li>Add error message if not running PHP 5.3 or higher<\/li>\n<li>Change unit in HTTP API message from milliseconds to seconds<\/li>\n<\/ul>\n\n<h3>0.3.2 (May 2016)<\/h3>\n\n<ul>\n<li>Added: Logger HTTP API Logger that logs all GET and POST requests made using for example <code>wp_remote_get()<\/code> and <code>wp_remote_post()<\/code>.<\/li>\n<li>Fixed: The logger for available updates could throw a fatal error on the plugin install screen. Hopefully fixed now, and if\nthen it fixes https:\/\/github.com\/bonny\/Developer-Loggers-for-Simple-History\/issues\/1 (the very first issue for this plugin! \ud83c\udf89).<\/li>\n<\/ul>\n\n<h3>0.3.1 (March 2016)<\/h3>\n\n<ul>\n<li>Fixed: Function <code>__return_empty_string<\/code> is not called <code>_return_empty_string<\/code>...<\/li>\n<li>Fixed: Undefined notice for <code>$initiator_text<\/code> in the post to Slack plugin<\/li>\n<\/ul>\n\n<h3>0.3 (February 2016)<\/h3>\n\n<ul>\n<li>Added: New plugin: Slack! Yes, now all your logged events can be posted to a Slack channel of your choice.<\/li>\n<li>Added: Actions <code>simple_history\/developer_loggers\/before_plugins_table<\/code> and <code>simple_history\/developer_loggers\/before_plugins_table<\/code>.<\/li>\n<\/ul>\n\n<h3>0.2 (December 2015)<\/h3>\n\n<ul>\n<li>Changes to Limit Login Attempts.<\/li>\n<\/ul>\n\n<h3>0.1 (December 2015)<\/h3>\n\n<ul>\n<li>First public version. Enjoy!<\/li>\n<\/ul>","raw_excerpt":"Useful loggers for SimpleHistory for developers during development of a site or to maintain a live site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/40470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=40470"}],"author":[{"embeddable":true,"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/eskapism"}],"wp:attachment":[{"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=40470"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=40470"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=40470"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=40470"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=40470"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/dsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=40470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}