{
    "content": [
        {
            "type": "text",
            "text": "# org.freedesktop.LogControl1(5) (man)\n\n**Summary:** org.freedesktop.LogControl1 - D-Bus interface to query and set logging configuration\n\n## See Also\n\n- systemd(1)\n- journalctl(1)\n- systemctl(1)\n- systemd.service(5)\n- syslog(3)\n- ORG.FREEDESKTOP.LOGCONTROL1(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **INTRODUCTION** (7 lines)\n- **DESCRIPTION** (24 lines) — 1 subsections\n  - Properties (13 lines)\n- **TOOLS** (1 lines) — 1 subsections\n  - -t --identifier= (9 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\norg.freedesktop.LogControl1 - D-Bus interface to query and set logging configuration\n\n### INTRODUCTION\n\norg.freedesktop.LogControl1 is a generic interface that is intended to be used by any daemon\nwhich allows the log level and target to be set over D-Bus. It is implemented by various\ndaemons that are part of the systemd(1) suite.\n\nIt is assumed that those settings are global for the whole program, so a fixed object path is\nused. The interface should always be available under the path /org/freedesktop/LogControl1.\n\n### DESCRIPTION\n\nThe following interface is exposed:\n\nnode /org/freedesktop/LogControl1 {\ninterface org.freedesktop.LogControl1 {\nproperties:\n@org.freedesktop.DBus.Property.EmitsChangedSignal(\"false\")\n@org.freedesktop.systemd1.Privileged(\"true\")\nreadwrite s LogLevel = '...';\n@org.freedesktop.DBus.Property.EmitsChangedSignal(\"false\")\n@org.freedesktop.systemd1.Privileged(\"true\")\nreadwrite s LogTarget = '...';\n@org.freedesktop.DBus.Property.EmitsChangedSignal(\"false\")\nreadonly s SyslogIdentifier = '...';\n};\ninterface org.freedesktop.DBus.Peer { ... };\ninterface org.freedesktop.DBus.Introspectable { ... };\ninterface org.freedesktop.DBus.Properties { ... };\n};\n\n#### Properties\n\nLogLevel describes the syslog(3)-style log-level, and should be one of \"emerg\", \"alert\",\n\"crit\", \"err\", \"warning\", \"notice\", \"info\", \"debug\", in order of increasing verbosity.\n\nLogTarget describes the log target (mechanism). It should be one of \"console\" (log to the\nconsole or standard output), \"kmsg\" (log to the kernel ring buffer), \"journal\" (log to the\njournal natively, see systemd-journald.service(8)), \"syslog\" (log using the syslog(3) call).\n\nThose two properties are writable, so they may be set by sufficiently privileged users.\n\nSyslogIdentifier is a read-only property that shows the \"syslog identifier\". It is a short\nstring that identifies the program that is the source of log messages that is passed to the\nsyslog(3) call.\n\n### TOOLS\n\njournalctl option -p/--priority= may be used to filter log messages by log level, option\n\n#### -t --identifier=\n\n\"TRANSPORT=syslog\", \"TRANSPORT=journal\", and \"TRANSPORT=kernel\" may be used to filter\nmessages by the mechanism through which they reached systemd-journald.\n\nsystemctl log-level and systemctl log-target verbs may be used to query and set the LogLevel\nand LogTarget properties of the service manager.  systemctl service-log-level and systemctl\nservice-log-target may similarly be used for individual services. (Services must have the\nBusName= property set and must implement the interface described here. See systemd.service(5)\nfor details about BusName=.)\n\n### SEE ALSO\n\nsystemd(1), journalctl(1), systemctl(1), systemd.service(5), syslog(3)\n\n\n\nsystemd 249                                                           ORG.FREEDESKTOP.LOGCONTROL1(5)\n\n"
        }
    ],
    "structuredContent": {
        "command": "org.freedesktop.LogControl1",
        "section": "5",
        "mode": "man",
        "summary": "org.freedesktop.LogControl1 - D-Bus interface to query and set logging configuration",
        "synopsis": null,
        "flags": [
            {
                "flag": "-t",
                "long": null,
                "arg": null,
                "description": "\"TRANSPORT=syslog\", \"TRANSPORT=journal\", and \"TRANSPORT=kernel\" may be used to filter messages by the mechanism through which they reached systemd-journald. systemctl log-level and systemctl log-target verbs may be used to query and set the LogLevel and LogTarget properties of the service manager. systemctl service-log-level and systemctl service-log-target may similarly be used for individual services. (Services must have the BusName= property set and must implement the interface described here. See systemd.service(5) for details about BusName=.)"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "journalctl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/journalctl/1/json"
            },
            {
                "name": "systemctl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemctl/1/json"
            },
            {
                "name": "systemd.service",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/systemd.service/5/json"
            },
            {
                "name": "syslog",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/syslog/3/json"
            },
            {
                "name": "ORG.FREEDESKTOP.LOGCONTROL1",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/ORG.FREEDESKTOP.LOGCONTROL1/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "INTRODUCTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 24,
                "subsections": [
                    {
                        "name": "Properties",
                        "lines": 13
                    }
                ]
            },
            {
                "name": "TOOLS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-t --identifier=",
                        "lines": 9,
                        "flag": "-t"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}