{"id":4568,"date":"2022-12-20T18:09:06","date_gmt":"2022-12-20T21:09:06","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/org-freedesktop-logcontrol1-man5\/"},"modified":"2022-12-20T18:09:06","modified_gmt":"2022-12-20T21:09:06","slug":"org-freedesktop-logcontrol1-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/org-freedesktop-logcontrol1-man5\/","title":{"rendered":"ORG.FREEDESKTOP.LOGCONTROL1 (man5)"},"content":{"rendered":"<h1 align=\"center\">ORG.FREEDESKTOP.LOGCONTROL1<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#INTRODUCTION\">INTRODUCTION<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">org.freedesktop.LogControl1 \u2212 D\u2212Bus interface to query and set logging configuration<\/p>\n<h2>INTRODUCTION <a name=\"INTRODUCTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">org.freedesktop.LogControl1 is a generic interface that is intended to be used by any daemon which should allow setting the log level and target over D\u2212Bus. It is implemented by various daemons that are part of the <b>systemd<\/b>(1) suite.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">It is assumed that those settings are global for the whole program, so a fixed object path is used. The interface should always be available under the path \/org\/freedesktop\/LogControl1.<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following interface is exposed:<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">node \/org\/freedesktop\/LogControl1 { <br \/> interface org.freedesktop.LogControl1 { <br \/> properties: <br \/> @org.freedesktop.DBus.Property.EmitsChangedSignal(&#8220;false&#8221;) <br \/> @org.freedesktop.systemd1.Privileged(&#8220;true&#8221;) <br \/> readwrite s LogLevel = &#8216;&#8230;&#8217;; <br \/> @org.freedesktop.DBus.Property.EmitsChangedSignal(&#8220;false&#8221;) <br \/> @org.freedesktop.systemd1.Privileged(&#8220;true&#8221;) <br \/> readwrite s LogTarget = &#8216;&#8230;&#8217;; <br \/> @org.freedesktop.DBus.Property.EmitsChangedSignal(&#8220;false&#8221;) <br \/> readonly s SyslogIdentifier = &#8216;&#8230;&#8217;; <br \/> }; <br \/> interface org.freedesktop.DBus.Peer { &#8230; }; <br \/> interface org.freedesktop.DBus.Introspectable { &#8230; }; <br \/> interface org.freedesktop.DBus.Properties { &#8230; }; <br \/> };<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Properties<\/b> <i><br \/> LogLevel<\/i> describes the <b>syslog<\/b>(3)\u2212style log\u2212level, and should be one of &#8220;emerg&#8221;, &#8220;alert&#8221;, &#8220;crit&#8221;, &#8220;err&#8221;, &#8220;warning&#8221;, &#8220;notice&#8221;, &#8220;info&#8221;, &#8220;debug&#8221;, in order of increasing verbosity.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>LogTarget<\/i> describes the log target (mechanism). It should be one of &#8220;console&#8221; (log to the console or standard output), &#8220;kmsg&#8221; (log to the kernel ring buffer), &#8220;journal&#8221; (log to the journal natively, see <b>systemd-journald.service<\/b>(8)), &#8220;syslog&#8221; (log using the <b>syslog<\/b>(3) call).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Those two properties are writable, so they may be set by sufficiently privileged users.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>SyslogIdentifier<\/i> is a read\u2212only property that shows the &#8220;syslog identifier&#8221;. It is a short string that identifies the program that is the source of log messages that is passed to the <b>syslog<\/b>(3) call.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note: <b>journalctl<\/b> option <b>\u2212p<\/b>\/<b>\u2212\u2212priority=<\/b> may be used to filter log messages by log level, option <b>\u2212t<\/b>\/<b>\u2212\u2212identifier=<\/b> may be used to by the syslog identifier, and filters like &#8220;_TRANSPORT=syslog&#8221;, &#8220;_TRANSPORT=journal&#8221;, and &#8220;_TRANSPORT=kernel&#8221; may be used to filter messages by the mechanism through which they reached <b>systemd\u2212journald<\/b>.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  org.freedesktop.LogControl1 \u2212 D\u2212Bus interface to query and set logging configuration <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1291,1318],"class_list":["post-4568","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-org"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4568"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4568\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}