org.freedesktop.LogControl1(5) — Linux manual page



NAME         top

       org.freedesktop.LogControl1 - D-Bus interface to query and set
       logging configuration

INTRODUCTION         top

       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-Bus. It is implemented by various daemons that are part
       of the systemd(1) suite.

       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.

DESCRIPTION         top

       The following interface is exposed:

           node /org/freedesktop/LogControl1 {
             interface org.freedesktop.LogControl1 {
                 readwrite s LogLevel = '...';
                 readwrite s LogTarget = '...';
                 readonly s SyslogIdentifier = '...';
             interface org.freedesktop.DBus.Peer { ... };
             interface org.freedesktop.DBus.Introspectable { ... };
             interface org.freedesktop.DBus.Properties { ... };

       LogLevel describes the syslog(3)-style log-level, and should be one
       of "emerg", "alert", "crit", "err", "warning", "notice", "info",
       "debug", in order of increasing verbosity.

       LogTarget describes the log target (mechanism). It should be one of
       "console" (log to the console or standard output), "kmsg" (log to the
       kernel ring buffer), "journal" (log to the journal natively, see
       systemd-journald.service(8)), "syslog" (log using the syslog(3)

       Those two properties are writable, so they may be set by sufficiently
       privileged users.

       SyslogIdentifier is a read-only property that shows the "syslog
       identifier". It is a short string that identifies the program that is
       the source of log messages that is passed to the syslog(3) call.

       Note: journalctl option -p/--priority= may be used to filter log
       messages by log level, option -t/--identifier= may be used to by the
       syslog identifier, and filters like "_TRANSPORT=syslog",
       "_TRANSPORT=journal", and "_TRANSPORT=kernel" may be used to filter
       messages by the mechanism through which they reached

COLOPHON         top

       This page is part of the systemd (systemd system and service manager)
       project.  Information about the project can be found at 
       ⟨⟩.  If you have a bug
       report for this manual page, see
       ⟨⟩.  This
       page was obtained from the project's upstream Git repository
       ⟨⟩ on 2020-08-13.  (At that
       time, the date of the most recent commit that was found in the repos‐
       itory was 2020-08-11.)  If you discover any rendering problems in
       this HTML version of the page, or you believe there is a better or
       more up-to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not part
       of the original manual page), send a mail to

systemd 246                                   ORG.FREEDESKTOP.LOGCONTROL1(5)

Pages that refer to this page: init(1)systemd(1)30-systemd-environment-d-generator(7)systemd.directives(7)systemd.index(7)systemd-hostnamed(8)systemd-hostnamed.service(8)systemd-importd(8)systemd-importd.service(8)systemd-localed(8)systemd-localed.service(8)systemd-logind(8)systemd-logind.service(8)systemd-machined(8)systemd-machined.service(8)systemd-resolved(8)systemd-resolved.service(8)systemd-timedated(8)systemd-timedated.service(8)