{"id":900,"date":"2021-07-23T12:40:46","date_gmt":"2021-07-23T12:40:46","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/cpanel-log-rotation-configuration\/"},"modified":"2021-07-23T12:40:46","modified_gmt":"2021-07-23T12:40:46","slug":"cpanel-log-rotation-configuration","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/cpanel-log-rotation-configuration\/","title":{"rendered":"cPanel Log Rotation Configuration"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<div id=\"versioned-article-header\">\n<p class=\"valid-version-info\"><em>Valid for versions 82 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>82<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>This interface allows you to select cPanel &#038; WHM log files for the <code>cpanellogd<\/code> daemon to compress and archive. At the end of each month, the <code>cpanellogd<\/code> daemon compresses the selected log files into a single file for each type. The system archives the compressed files in the <code>\/usr\/local\/cpanel\/logs\/archive\/<\/code> directory.<\/p>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<p>The system does <strong>not<\/strong> automatically delete the compressed log files. You <strong>must<\/strong> manually delete any unnecessary files. For information about cleaning out old log files, read our How to Clean Unmanaged Log Files documentation.<\/p>\n<\/p><\/div>\n<\/div>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>For information about Apache\u00ae log rotation, read our Apache <em>Log Rotation<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Service Configuration &gt;&gt; Apache Configuration &gt;&gt; Log Rotation<\/em>) documentation.<\/p>\n<\/p><\/div>\n<\/div>\n<h2 id=\"configure-log-files\">Configure log files<\/h2>\n<p>To select the log files to compress and archive, perform the following steps:<\/p>\n<ol>\n<li>Select the checkboxes for the log files that you wish to archive.<\/li>\n<li>Click <em>Save<\/em>.<\/li>\n<\/ol>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>For more information about log files that appear in this interface, read The cPanel &#038; WHM Log Files documentation.<\/p>\n<\/p><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 82 through the latest version Version: 82 Overview This interface allows you to select cPanel &#038; WHM log files for the cpanellogd daemon to compress and archive. At the end of each month, the cpanellogd daemon compresses the selected log files into a single file for each type. The system archives the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":901,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/900"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=900"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/900\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/901"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}