Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783
Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783
Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783
Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783
Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783
Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783
Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783
Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783
Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
{"id":2136,"date":"2019-11-26T06:22:40","date_gmt":"2019-11-26T06:22:40","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2136"},"modified":"2019-11-26T06:22:40","modified_gmt":"2019-11-26T06:22:40","slug":"how-to-use-log-files-to-troubleshoot-website-issues-in-plesk","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/how-to-use-log-files-to-troubleshoot-website-issues-in-plesk\/","title":{"rendered":"How To Use Log Files To Troubleshoot Website Issues In Plesk"},"content":{"rendered":"The Log Browser feature in\u00a0Plesk can assist you in troubleshooting issues<\/strong>\u00a0with your websites by parsing the web server logs and displaying relevant warnings and error messages in the Plesk interface.<\/p>\nThe information from the following log files is displayed by default:<\/strong><\/p>\n\n- Apache access (access_log)<\/em>.<\/strong>\u00a0This log records all HTTP requests processed by the Apache web server.<\/li>\n
- Apache ssl access (access_ssl_log)<\/em>.<\/strong>\u00a0This log records all HTTPS requests processed by the Apache web server.<\/li>\n
- Apache error (error_log)<\/em>.<\/strong>\u00a0This log contains diagnostic information. It also records any errors that the Apache web server encounters in processing requests.<\/li>\n
- nginx access (proxy_access_log).<\/em><\/strong>\u00a0This log records all HTTP requests processed by the nginx proxy web server.<\/li>\n
- nginx ssl access (proxy_access_ssl_log)<\/em>.<\/strong>\u00a0This log records all HTTPS requests processed by the nginx proxy web server.<\/li>\n
- nginx error (proxy_error_log)<\/em>.<\/strong>\u00a0This log contains diagnostic information. It also records any errors that the nginx proxy web server encounters in processing requests.<\/li>\n<\/ul>\n
ACCESS LOG BROWSER<\/strong><\/p>\nTo access the Log Browser, go to\u00a0Websites and Domains\u00a0>\u00a0Logs<\/strong>. You will be presented with a list of messages gathered from the logs. By default, the Log Browser displays messages present in the monitored logs at the moment of opening. If you want to refresh the list with messages added after opening the Log Browser, click\u00a0Refresh. Alternatively, if you want to have new messages continuously added to the list, click\u00a0Start real-time updates<\/strong>.<\/p>\nTo select the logs from which you want to view messages, click the\u00a0\u00a0icon, and select the desired logs from the menu.<\/p>\n
MANAGE LOG FILES<\/strong><\/p>\nTo view all the messages in a log, go to\u00a0Websites and Domains\u00a0>\u00a0Logs\u00a0><\/strong>\u00a0click the\u00a0\u00a0icon >\u00a0Manage log files.<\/strong>\u00a0The list of all tracked log files will be displayed.<\/p>\nHere you can click a log file name to view the file content directly in the Log Browser. You can click theicon next to a log file to open it for viewing in a separate window, or theicon to download it.<\/p>\n
To save disk space, you can enable log rotation that is automatic compressing and\/or deleting outdated website log files. To set up log rotation, go to\u00a0Websites and Domains\u00a0>\u00a0Logs\u00a0><\/strong>\u00a0click the\u00a0\u00a0icon >\u00a0Manage log files\u00a0>\u00a0Log Rotation.<\/strong><\/p>\nYou can delete log files that have been rotated\u00a0(log files that have not yet been rotated cannot be removed)<\/strong>.<\/p>\nADD A CUSTOM LOG FILE<\/strong><\/p>\nYou can add any custom log file from you web site directory to track its changes in the Log Browser. To do this, click the\u00a0Add Custom Log\u00a0button on the\u00a0Manage Log Files\u00a0page. The tree with your web site folders will be displayed. Select the file that you want to add to the Log Browser and click\u00a0OK.<\/p>\n
Note: Only plain text files can be selected.<\/strong><\/span>
\nIn order to be properly displayed, your custom log file should have timestamps for each log entry, otherwise it will not be parsed correctly.<\/p>\nAs a result, the selected log file will be displayed in the list of\u00a0managed log files.<\/strong><\/p>\nIf you no longer want to monitor this custom log file, click theicon next to it. This does not remove the file from your file system, but simply removes the file from the list of files available in the Log Browser.<\/p>\n
You can also open a text file in the Log Browser directly from the File Manager, using the\u00a0Open in Log Browser\u00a0option<\/strong>.<\/p>\nWhen you open a log file from the File Manager in the Log Browser, it is not yet added to the list of logs viewed in the Log Browser on a permanent basis. To add the file to the Log Browser, click the\u00a0Add to Log Browser as Custom file\u00a0button.<\/strong><\/p>\nNote: Log rotation is not available for custom log files.<\/strong><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[107],"manual_kb_tag":[128],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2136"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2136"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2136\/revisions"}],"predecessor-version":[{"id":2137,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2136\/revisions\/2137"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2136"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2136"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}