[systemd-devel] How to get "log_debug" from logind?
lennart at poettering.net
Fri Mar 29 05:28:31 PDT 2013
On Fri, 29.03.13 11:13, Manuel Reimer (Manuel.Spam at nurfuerspam.de) wrote:
> I want to find out why inhibiting the power button doesn't work
> "system wide". As first step, I want to compare debug messages,
> logged by logind.
> But unfortunately I don't manage to get them logged to somewhere.
> Enabling debug output for systemd seems to not enable debug output
> for logind. Currently, I use both, the kernel parameter
> "systemd.log_level=debug" and the setting "LogLevel=debug" in
That only enables debug logging for systemd itself, i.e. PID 1.
To enable debug logging for logind, please copy
/etc/systemd/system/systemd-logind.service and then edit it there. Add
"Environment=SYSTEMD_LOG_LEVEL=debug" to the [Service] section.
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel