{"id":54679,"date":"2017-02-27T11:27:37","date_gmt":"2017-02-27T11:27:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-output-log-file\/"},"modified":"2026-02-28T01:21:11","modified_gmt":"2026-02-28T01:21:11","slug":"wp-output-log-file","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/wp-output-log-file\/","author":485164,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.2","stable_tag":"1.2.2","tested":"6.7.5","requires":"5.0","requires_php":"5.6","requires_plugins":null,"header_name":"WP Output Log File","header_author":"Reiji Sato","header_description":"","assets_banners_color":"171737","last_updated":"2026-02-28 01:21:11","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.sofplant.com\/","header_plugin_uri":"https:\/\/github.com\/sofp\/wp-output-log-file","header_author_uri":"https:\/\/www.sofplant.com","rating":0,"author_block_rating":0,"active_installs":100,"downloads":2367,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.2.0":{"tag":"1.2.0","author":"Reiji Sato","date":"2026-02-28 01:21:11"},"1.2.1":{"tag":"1.2.1","author":"Reiji Sato","date":"2026-02-28 01:21:11"},"1.2.2":{"tag":"1.2.2","author":"Reiji Sato","date":"2026-02-28 01:21:11"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3452966,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3452966,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3452966,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3452966,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.0","1.2.1","1.2.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[94,2679,2275,906,908],"plugin_category":[59],"plugin_contributors":[255173],"plugin_business_model":[],"class_list":["post-54679","plugin","type-plugin","status-publish","hentry","plugin_tags-debug","plugin_tags-debugging","plugin_tags-developer","plugin_tags-error","plugin_tags-log","plugin_category-utilities-and-tools","plugin_contributors-reiji-sato","plugin_committers-reiji-sato"],"banners":{"banner":"https:\/\/ps.w.org\/wp-output-log-file\/assets\/banner-772x250.png?rev=3452966","banner_2x":"https:\/\/ps.w.org\/wp-output-log-file\/assets\/banner-1544x500.png?rev=3452966","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-output-log-file\/assets\/icon-128x128.png?rev=3452966","icon_2x":"https:\/\/ps.w.org\/wp-output-log-file\/assets\/icon-256x256.png?rev=3452966","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Manage WordPress log files independently of WP_DEBUG mode.\nYou can specify the output directory and file name, download log files, and delete them as needed.<\/p>\n\n<p>By specifying a date format in the file name, you can split logs daily or monthly.<\/p>\n\n<!--section=installation-->\n<p>Just install from your WordPress \"Plugins &gt; Add New\" screen and all will be well. Manual installation is very straightforward as well:<\/p>\n\n<ol>\n<li>Upload the zip file and unzip it in the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to <code>Settings &gt; WP Output Log File<\/code> and activate the options you want.<\/li>\n<\/ol>\n\n<h4>Example<\/h4>\n\n<p>You can write custom WordPress code, for example in your theme's functions.php file.<\/p>\n\n<p>if ( function_exists( 'wo_log' ) ) { \n   wo_log( \"Your message\" ); \/\/ string<\/p>\n\n<p>wo_log( ['a' =&gt; 1, 'b' =&gt; 2, 'c' =&gt; 3 ] ); \/\/ other data types\n}<\/p>\n\n<!--section=changelog-->\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Added translation files for internationalization support<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed: Access Protect feature now works on servers requiring FTP credentials<\/li>\n<li>Fixed: FS_CHMOD_FILE undefined error on some PHP 8.4 environments<\/li>\n<li>Fixed: Compatibility with WordPress 6.8.3 and PHP 8.4.17<\/li>\n<li>Improved: More reliable file creation for security files (index.php, .htaccess)<\/li>\n<li>Changed PHP requirement from 7.4 to 5.6 for broader compatibility<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Tested up to WordPress 6.7<\/li>\n<li>Added PHP 7.4 minimum requirement<\/li>\n<li>Added internationalization (i18n) support<\/li>\n<li>Added Japanese translation<\/li>\n<li>Improved security for file download<\/li>\n<li>Fixed sanitization for log output (preserve newlines)<\/li>\n<li>Code quality improvements following WordPress Coding Standards<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Changed wo_log message parameter to accept any data type<\/li>\n<li>Deleted test file<\/li>\n<li>Changed error message color for write operations<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed Compatibility with PHP 5.2 users<\/li>\n<li>Changed settings menu name to 'WP Output Log File'<\/li>\n<li>Change readme.txt<\/li>\n<\/ul>","raw_excerpt":"Manage log files with custom directory and filename. Download and delete logs regardless of WP_DEBUG.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/54679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=54679"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/reiji-sato"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=54679"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=54679"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=54679"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=54679"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=54679"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=54679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}