{"id":232,"date":"2011-01-15T09:52:35","date_gmt":"2011-01-15T01:52:35","guid":{"rendered":"http:\/\/www.sysadmindayph.com\/blog\/?p=232"},"modified":"2011-01-15T09:52:35","modified_gmt":"2011-01-15T01:52:35","slug":"how-to-stop-syslog-messages-to-write-console-on-solaris","status":"publish","type":"post","link":"http:\/\/www.sysadmindayph.com\/blog\/how-to-stop-syslog-messages-to-write-console-on-solaris\/","title":{"rendered":"How to Stop syslog Messages to Write Console on Solaris"},"content":{"rendered":"<p>How to Stop syslog Messages to Write Console on Solaris<\/p>\n<p>you can edit the entries in the \/etc\/syslog.conf to direct to another file eg \/var\/log\/syslog instead of \/dev\/console. After that, issue kill -HUP <pid of syslog daemon> to &#8220;reinitialize&#8221; the config<\/p>\n<p>or if you want to stop syslog process\/daemon in Solaris 10, (not \/etc\/init.d\/syslog stop)<\/p>\n<p>it should be<\/p>\n<p>svcadm disable svc:\/system\/system-log:default<\/p>\n<p>svcadm disable svc:\/system\/system-log:default turned syslog off you need to also run svcadm enable svc:\/system\/system-log:default to turn it back on, after you made the right changes to \/etc\/syslog.conf so it does what you want. You can probably just comment out the line as it is also logged to file in \/var\/adm\/messages.log<\/p>\n<p>Turning syslog off is not a good idea.<\/p>\n<p>That&#8217;s is How to Stop syslog Messages to Write Console on Solaris.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Stop syslog Messages to Write Console on Solaris you can edit the entries in the \/etc\/syslog.conf to direct to another file eg \/var\/log\/syslog instead of \/dev\/console. After that, issue kill -HUP to &#8220;reinitialize&#8221; &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,25],"tags":[357,358],"class_list":["post-232","post","type-post","status-publish","format-standard","hentry","category-solaris","category-solaris-10","tag-syslog","tag-syslog-console-message"],"_links":{"self":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":1,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":233,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/232\/revisions\/233"}],"wp:attachment":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}