{"id":8477,"date":"2022-09-02T11:27:00","date_gmt":"2022-09-02T11:27:00","guid":{"rendered":"https:\/\/clustercs.com\/kb\/?docs=docly-documentation\/domain-management\/utility\/set-up-advanced-server-logs"},"modified":"2022-09-19T12:39:05","modified_gmt":"2022-09-19T12:39:05","slug":"set-advanced-server-logs","status":"publish","type":"docs","link":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/","title":{"rendered":"Set up advanced server Logs"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>In order to effectively manage a web server, it is necessary to get feedback about the activity and performance of the server as well as any problems that may be occurring.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"846\" height=\"121\" src=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2.png\" alt=\"\" class=\"wp-image-8634\" srcset=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2.png 846w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2-300x43.png 300w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2-768x110.png 768w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2-600x86.png 600w\" sizes=\"(max-width: 846px) 100vw, 846px\" \/><\/figure>\n\n\n\n<p>This is the place where Apache (httpd) will send diagnostic information and record any errors that it encounters in processing requests. It is the first place to look when a problem occurs with starting the server or with the operation of the server, since it will often contain details of what went wrong and how to fix it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"846\" height=\"194\" src=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-3.png\" alt=\"\" class=\"wp-image-8636\" srcset=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-3.png 846w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-3-300x69.png 300w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-3-768x176.png 768w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-3-600x138.png 600w\" sizes=\"(max-width: 846px) 100vw, 846px\" \/><\/figure>\n\n\n\n<p>This is the place where NGINX will send diagnostic information and record any errors that it encounters in processing requests. It is the first place to look when a problem occurs with starting the server or with the operation of the server, since it will often contain details of what went wrong and how to fix it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"846\" height=\"195\" src=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-4.png\" alt=\"\" class=\"wp-image-8637\" srcset=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-4.png 846w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-4-300x69.png 300w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-4-768x177.png 768w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-4-600x138.png 600w\" sizes=\"(max-width: 846px) 100vw, 846px\" \/><\/figure>\n\n\n\n<p>Both can be configured to save the logs Local or via Syslogd.<br>Do not forget to activate \/ deactivate the logs as needed and click Apply Configuration for your changes to take place.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"616\" height=\"57\" src=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-5.png\" alt=\"\" class=\"wp-image-8638\" srcset=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-5.png 616w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-5-300x28.png 300w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-5-600x56.png 600w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/figure>\n\n\n\n<p>The access log keeps track of all of the requests that come into the web server and who has sent them. keeps track of things like IP addresses of visitors, the URL requested, the response, etc.<br>The error log dedicated to logging errors and problems that occur with the running of the server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"285\" src=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-6.png\" alt=\"\" class=\"wp-image-8639\" srcset=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-6.png 841w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-6-300x102.png 300w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-6-768x260.png 768w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-6-600x203.png 600w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/figure>\n\n\n\n<p><strong>Name<\/strong>&nbsp;\u2013 Name of the Logs;<br><strong>Facility<\/strong>&nbsp;\u2013 The way logs are handeled;<br><strong>Log path<\/strong>&nbsp;\u2013 The place where the logs are saved.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"848\" height=\"288\" src=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-7.png\" alt=\"\" class=\"wp-image-8640\" srcset=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-7.png 848w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-7-300x102.png 300w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-7-768x261.png 768w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-7-600x204.png 600w\" sizes=\"(max-width: 848px) 100vw, 848px\" \/><\/figure>\n\n\n\n<p><strong>Local Server<\/strong>&nbsp;\u2013 The logs are written by Apache \/ Nginx directly in their file log;<br><strong>Syslogd<\/strong>&nbsp;\u2013 Apache and Nginx forward the logs to syslogd which is a daemon that can be configured to forward even further to a specific server location or write in a file of its own;<br><strong>Custom remote ip\/port<\/strong>&nbsp;\u2013 Write the logs on a separate server that you have access to.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to effectively manage a web server, it is necessary to get feedback about the activity and performance of the server as well as any problems that may be occurring. This is the place where Apache (httpd) will send diagnostic information and record any errors that it encounters in processing requests. It is the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8476,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-8477","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Set up advanced server Logs - ClusterCS Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Set up advanced server Logs - ClusterCS Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"In order to effectively manage a web server, it is necessary to get feedback about the activity and performance of the server as well as any problems that may be occurring. This is the place where Apache (httpd) will send diagnostic information and record any errors that it encounters in processing requests. It is the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/\" \/>\n<meta property=\"og:site_name\" content=\"ClusterCS Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-19T12:39:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"846\" \/>\n\t<meta property=\"og:image:height\" content=\"121\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/\",\"url\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/\",\"name\":\"Set up advanced server Logs - ClusterCS Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/clustercs.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2.png\",\"datePublished\":\"2022-09-02T11:27:00+00:00\",\"dateModified\":\"2022-09-19T12:39:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/#primaryimage\",\"url\":\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2.png\",\"contentUrl\":\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2.png\",\"width\":846,\"height\":121},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/clustercs.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ClusterCS Documentation\",\"item\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Domain Management\",\"item\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Utility\",\"item\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Set up advanced server Logs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/clustercs.com\/kb\/#website\",\"url\":\"https:\/\/clustercs.com\/kb\/\",\"name\":\"ClusterCS Knowledge Base\",\"description\":\"Welcome to ClusterCS Documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/clustercs.com\/kb\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Set up advanced server Logs - ClusterCS Knowledge Base","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:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/","og_locale":"en_US","og_type":"article","og_title":"Set up advanced server Logs - ClusterCS Knowledge Base","og_description":"In order to effectively manage a web server, it is necessary to get feedback about the activity and performance of the server as well as any problems that may be occurring. This is the place where Apache (httpd) will send diagnostic information and record any errors that it encounters in processing requests. It is the [&hellip;]","og_url":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/","og_site_name":"ClusterCS Knowledge Base","article_modified_time":"2022-09-19T12:39:05+00:00","og_image":[{"width":846,"height":121,"url":"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/","url":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/","name":"Set up advanced server Logs - ClusterCS Knowledge Base","isPartOf":{"@id":"https:\/\/clustercs.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/#primaryimage"},"image":{"@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/#primaryimage"},"thumbnailUrl":"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2.png","datePublished":"2022-09-02T11:27:00+00:00","dateModified":"2022-09-19T12:39:05+00:00","breadcrumb":{"@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/#primaryimage","url":"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2.png","contentUrl":"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-2.png","width":846,"height":121},{"@type":"BreadcrumbList","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-advanced-server-logs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/clustercs.com\/kb\/"},{"@type":"ListItem","position":2,"name":"ClusterCS Documentation","item":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/"},{"@type":"ListItem","position":3,"name":"Domain Management","item":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/"},{"@type":"ListItem","position":4,"name":"Utility","item":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/"},{"@type":"ListItem","position":5,"name":"Set up advanced server Logs"}]},{"@type":"WebSite","@id":"https:\/\/clustercs.com\/kb\/#website","url":"https:\/\/clustercs.com\/kb\/","name":"ClusterCS Knowledge Base","description":"Welcome to ClusterCS Documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/clustercs.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/comments?post=8477"}],"version-history":[{"count":2,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8477\/revisions"}],"predecessor-version":[{"id":8980,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8477\/revisions\/8980"}],"up":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8476"}],"wp:attachment":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/media?parent=8477"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=8477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}