{"id":15323,"date":"2023-11-27T08:23:31","date_gmt":"2023-11-27T08:23:31","guid":{"rendered":"https:\/\/www.webhosting.uk.com\/kb\/?p=15323"},"modified":"2026-03-03T11:38:51","modified_gmt":"2026-03-03T11:38:51","slug":"how-to-manage-domain-log-rotation-in-plesk","status":"publish","type":"post","link":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/","title":{"rendered":"How to Manage Domain Log Rotation in Plesk"},"content":{"rendered":"<p class=\"MsoNormal\">In Plesk, log rotation for a domain refers to the process of managing and maintaining log files by occasionally archiving and\/or deleting older logs to stop them from consuming excessive disk space. Log rotation is essential for keeping the server storage organised and avoiding potential issues related to disk space exhaustion.<\/p>\n<p class=\"MsoNormal\">Via control panel:<\/p>\n<ol>\n<li>Log in to Plesk.<\/li>\n<li>Select the Domains option under Hosting Services.<br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a338a2d.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-22514\" style=\"border: 1px solid #ccc; border-radius: 6px; padding: 4px;\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a338a2d.png\" alt=\"domains\" width=\"220\" height=\"305\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a338a2d.png 250w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a338a2d-216x300.png 216w\" sizes=\"auto, (max-width: 220px) 100vw, 220px\" \/><\/a><\/li>\n<li>Select the domain whose log rotation you wish to manage.<br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3a7f3e.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-22515 size-full\" style=\"border: 1px solid #ccc; border-radius: 6px; padding: 4px;\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3a7f3e.png\" alt=\"domains\" width=\"1260\" height=\"347\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3a7f3e.png 1260w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3a7f3e-300x83.png 300w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3a7f3e-1024x282.png 1024w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3a7f3e-768x212.png 768w\" sizes=\"auto, (max-width: 1260px) 100vw, 1260px\" \/><\/a><\/li>\n<li>Click on the Logs option.<br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3d0d8a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-22516 size-full\" style=\"border: 1px solid #ccc; border-radius: 6px; padding: 4px;\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3d0d8a.png\" alt=\"logs\" width=\"1100\" height=\"651\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3d0d8a.png 1100w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3d0d8a-300x178.png 300w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3d0d8a-1024x606.png 1024w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a3d0d8a-768x455.png 768w\" sizes=\"auto, (max-width: 1100px) 100vw, 1100px\" \/><\/a><\/li>\n<li>You will enter the logs of that domain.<\/li>\n<li>Click on the Log rotation.<br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a400723.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-22517 size-full\" style=\"border: 1px solid #ccc; border-radius: 6px; padding: 4px;\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a400723.png\" alt=\"logs\" width=\"1656\" height=\"358\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a400723.png 1656w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a400723-300x65.png 300w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a400723-1024x221.png 1024w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a400723-768x166.png 768w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a400723-1536x332.png 1536w\" sizes=\"auto, (max-width: 1656px) 100vw, 1656px\" \/><\/a><\/li>\n<li>A pop-up window will appear. Fill in the required parameters &#8211;\n<ol>\n<li>Tick the \u201cLog rotation\u201d checkbox.<\/li>\n<li>Select the \u201cLog rotation condition\u201d by time or by size.<\/li>\n<li>Enter the maximum number of log files.<\/li>\n<li>Tick the \u201cCompress log files\u201d checkbox.<\/li>\n<li>Add the email address to the email log files after Plesk retrieves data from the log files of the web and FTP servers.<\/li>\n<\/ol>\n<\/li>\n<li>Finally, click on the \u201cOk\u201d button.<br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a4590ad.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-22518\" style=\"border: 1px solid #ccc; border-radius: 6px; padding: 4px;\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a4590ad.png\" alt=\"configure log rotation\" width=\"500\" height=\"485\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a4590ad.png 568w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a4590ad-300x291.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/li>\n<\/ol>\n<p>Important notes:<\/p>\n<ul>\n<li>When Log rotation is not enabled, log files will be retained indefinitely.<\/li>\n<li>If the Maximum number of log files is configured as zero, all current log files will be deleted during log rotation.<\/li>\n<li>ModSecurity log files are rotated solely based on their size.<\/li>\n<\/ul>\n<p><strong>Via Command Line Interface (CLI)<\/strong><\/p>\n<p>You can manage domain log rotation in Plesk using the command line on both Linux and Windows servers.<\/p>\n<p>Command Syntax:<br \/>\nUse the following command structure:<br \/>\nplesk bin site &#8211;update &lt;domain-name&gt; [options]<\/p>\n<p>Available Log Rotation Options<\/p>\n<ul>\n<li>-log-rotate &lt;true|false&gt;<br \/>\nEnable or disable log rotation<\/li>\n<li>-log-bysize &lt;number&gt;[B|K|M|G]<br \/>\nRotate logs when they reach a specified size<\/li>\n<li>-log-bytime &lt;daily|weekly|monthly&gt;<br \/>\nRotate logs based on time (default: daily)<\/li>\n<li>-log-max-num-files &lt;number&gt;<br \/>\nMaximum number of log files to keep<\/li>\n<li>-log-compress &lt;true|false&gt;<br \/>\nEnable or disable log file compression<\/li>\n<li>-log-email &lt;email&gt;<br \/>\nSend rotated log files to an email address<\/li>\n<\/ul>\n<p><strong>Example: Enable Log Rotation for a Domain<\/strong><\/p>\n<p>The following command:<\/p>\n<ul>\n<li>Enables log rotation<\/li>\n<li>Rotates logs when they reach 5 MB<\/li>\n<li>Keeps a maximum of 3 log files<\/li>\n<li>Compresses rotated logs<\/li>\n<li>Emails log files to oliver@example.com<\/li>\n<\/ul>\n<pre>plesk bin site --update example.com \\\r\n-log-rotate true \\\r\n-log-bysize 5M \\\r\n-log-max-num-files 3 \\\r\n-log-compress true \\\r\n-log-email oliver@example.com<\/pre>\n<p>Example: Disable Log Rotation<\/p>\n<pre>plesk bin site --update example.com -log-rotate false<\/pre>\n<p>Example: Disable Email Notifications for Log Rotation<\/p>\n<pre>plesk bin site --update example.com -log-email \"\"<\/pre>\n<p>Important Notes:<\/p>\n<ul>\n<li>If log rotation is disabled, log files are stored indefinitely.<\/li>\n<li>Setting -log-max-num-files 0 deletes all existing log files during rotation.<\/li>\n<li>ModSecurity logs are rotated only by size, regardless of time-based settings.<\/li>\n<\/ul>\n<p>Stay updated on insightful articles by regularly visiting our Knowledge Base (KB) section. If you need assistance, our support specialists are here to help.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Plesk, log rotation for a domain refers to the process of managing and maintaining log files by occasionally archiving and\/or deleting older logs to stop them from consuming excessive&hellip;<\/p>\n<p><a href=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/\" class=\"more-link\">Read More<\/a><\/p>\n<div class='heateorSssClear'><\/div><div  class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' data-heateor-sss-href='https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/'><div class='heateor_sss_sharing_title' style=\"font-weight:bold\" >Spread the love<\/div><div class=\"heateor_sss_sharing_ul\"><a aria-label=\"Facebook\" class=\"heateor_sss_facebook\" href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-manage-domain-log-rotation-in-plesk%2F\" title=\"Facebook\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg\" style=\"background-color:#0765FE;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 32 32\"><path fill=\"#fff\" d=\"M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z\"><\/path><\/svg><\/span><\/a><a aria-label=\"X\" class=\"heateor_sss_button_x\" href=\"https:\/\/twitter.com\/intent\/tweet?text=How%20to%20Manage%20Domain%20Log%20Rotation%20in%20Plesk&url=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-manage-domain-log-rotation-in-plesk%2F\" title=\"X\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg heateor_sss_s__default heateor_sss_s_x\" style=\"background-color:#2a2a2a;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg width=\"100%\" height=\"100%\" style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fff\" d=\"M21.751 7h3.067l-6.7 7.658L26 25.078h-6.172l-4.833-6.32-5.531 6.32h-3.07l7.167-8.19L6 7h6.328l4.37 5.777L21.75 7Zm-1.076 16.242h1.7L11.404 8.74H9.58l11.094 14.503Z\"><\/path><\/svg><\/span><\/a><a aria-label=\"Linkedin\" class=\"heateor_sss_button_linkedin\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-manage-domain-log-rotation-in-plesk%2F\" title=\"Linkedin\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg heateor_sss_s__default heateor_sss_s_linkedin\" style=\"background-color:#0077b5;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 32 32\"><path d=\"M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z\" fill=\"#fff\"><\/path><\/svg><\/span><\/a><\/div><div class=\"heateorSssClear\"><\/div><\/div><div class='heateorSssClear'><\/div>","protected":false},"author":28,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[944],"tags":[1094,1676],"class_list":["post-15323","post","type-post","status-publish","format-standard","hentry","category-plesk","tag-domain","tag-plesk-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.9 (Yoast SEO v27.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Manage Domain Log Rotation in Plesk<\/title>\n<meta name=\"description\" content=\"This article explains how to manage domain log rotation in Plesk via the control panel and command line interface.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Manage Domain Log Rotation in Plesk\" \/>\n<meta property=\"og:description\" content=\"This article explains how to manage domain log rotation in Plesk via the control panel and command line interface.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/\" \/>\n<meta property=\"og:site_name\" content=\"Webhosting UK Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhostingukcom\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-27T08:23:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-03T11:38:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a338a2d.png\" \/>\n\t<meta property=\"og:image:width\" content=\"250\" \/>\n\t<meta property=\"og:image:height\" content=\"347\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Victor G\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebhostingUKcom\" \/>\n<meta name=\"twitter:site\" content=\"@WebhostingUKcom\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/\"},\"author\":{\"name\":\"Victor G\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/person\\\/ea067684eae84c2b8b49a81c69407297\"},\"headline\":\"How to Manage Domain Log Rotation in Plesk\",\"datePublished\":\"2023-11-27T08:23:31+00:00\",\"dateModified\":\"2026-03-03T11:38:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/\"},\"wordCount\":432,\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Snag_2a338a2d.png\",\"keywords\":[\"Domain\",\"Plesk Tutorial\"],\"articleSection\":[\"Plesk\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/\",\"name\":\"How to Manage Domain Log Rotation in Plesk\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Snag_2a338a2d.png\",\"datePublished\":\"2023-11-27T08:23:31+00:00\",\"dateModified\":\"2026-03-03T11:38:51+00:00\",\"description\":\"This article explains how to manage domain log rotation in Plesk via the control panel and command line interface.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Snag_2a338a2d.png\",\"contentUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Snag_2a338a2d.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-manage-domain-log-rotation-in-plesk\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Manage Domain Log Rotation in Plesk\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\",\"name\":\"Webhosting UK Knowledge Base\",\"description\":\"Expert Insights on Hosting, Development, Security, Marketing, and SEO\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\"},\"alternateName\":\"WHUK\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\",\"name\":\"Webhosting UK\",\"alternateName\":\"WHUK\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/WHUK-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/WHUK-logo-1.png\",\"width\":1200,\"height\":628,\"caption\":\"Webhosting UK\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/webhostingukcom\",\"https:\\\/\\\/x.com\\\/WebhostingUKcom\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/webhostinguk\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/webhosting-uk-com-ltd\\\/\",\"https:\\\/\\\/www.instagram.com\\\/webhosting_uk\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@webhostinguk\"],\"description\":\"Fast, reliable, and cost-effective website hosting services with Webhosting UK. Committed to providing you secure support around the clock.\",\"email\":\"sales@webhosting.uk.com\",\"telephone\":\"0800 862 0890\",\"legalName\":\"Webhosting UK\",\"foundingDate\":\"2001-02-07\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"51\",\"maxValue\":\"200\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/person\\\/ea067684eae84c2b8b49a81c69407297\",\"name\":\"Victor G\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"caption\":\"Victor G\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Manage Domain Log Rotation in Plesk","description":"This article explains how to manage domain log rotation in Plesk via the control panel and command line interface.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/","og_locale":"en_GB","og_type":"article","og_title":"How to Manage Domain Log Rotation in Plesk","og_description":"This article explains how to manage domain log rotation in Plesk via the control panel and command line interface.","og_url":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/","og_site_name":"Webhosting UK Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/webhostingukcom","article_published_time":"2023-11-27T08:23:31+00:00","article_modified_time":"2026-03-03T11:38:51+00:00","og_image":[{"width":250,"height":347,"url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a338a2d.png","type":"image\/png"}],"author":"Victor G","twitter_card":"summary_large_image","twitter_creator":"@WebhostingUKcom","twitter_site":"@WebhostingUKcom","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/#article","isPartOf":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/"},"author":{"name":"Victor G","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/person\/ea067684eae84c2b8b49a81c69407297"},"headline":"How to Manage Domain Log Rotation in Plesk","datePublished":"2023-11-27T08:23:31+00:00","dateModified":"2026-03-03T11:38:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/"},"wordCount":432,"publisher":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a338a2d.png","keywords":["Domain","Plesk Tutorial"],"articleSection":["Plesk"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/","url":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/","name":"How to Manage Domain Log Rotation in Plesk","isPartOf":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/#primaryimage"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a338a2d.png","datePublished":"2023-11-27T08:23:31+00:00","dateModified":"2026-03-03T11:38:51+00:00","description":"This article explains how to manage domain log rotation in Plesk via the control panel and command line interface.","breadcrumb":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/#primaryimage","url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a338a2d.png","contentUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/11\/Snag_2a338a2d.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-domain-log-rotation-in-plesk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhosting.uk.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Manage Domain Log Rotation in Plesk"}]},{"@type":"WebSite","@id":"https:\/\/www.webhosting.uk.com\/kb\/#website","url":"https:\/\/www.webhosting.uk.com\/kb\/","name":"Webhosting UK Knowledge Base","description":"Expert Insights on Hosting, Development, Security, Marketing, and SEO","publisher":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization"},"alternateName":"WHUK","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhosting.uk.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization","name":"Webhosting UK","alternateName":"WHUK","url":"https:\/\/www.webhosting.uk.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/08\/WHUK-logo-1.png","contentUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/08\/WHUK-logo-1.png","width":1200,"height":628,"caption":"Webhosting UK"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhostingukcom","https:\/\/x.com\/WebhostingUKcom","https:\/\/www.youtube.com\/c\/webhostinguk","https:\/\/www.linkedin.com\/company\/webhosting-uk-com-ltd\/","https:\/\/www.instagram.com\/webhosting_uk\/","https:\/\/www.tiktok.com\/@webhostinguk"],"description":"Fast, reliable, and cost-effective website hosting services with Webhosting UK. Committed to providing you secure support around the clock.","email":"sales@webhosting.uk.com","telephone":"0800 862 0890","legalName":"Webhosting UK","foundingDate":"2001-02-07","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"51","maxValue":"200"}},{"@type":"Person","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/person\/ea067684eae84c2b8b49a81c69407297","name":"Victor G","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","caption":"Victor G"}}]}},"_links":{"self":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/15323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/comments?post=15323"}],"version-history":[{"count":8,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/15323\/revisions"}],"predecessor-version":[{"id":22520,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/15323\/revisions\/22520"}],"wp:attachment":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/media?parent=15323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/categories?post=15323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/tags?post=15323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}