LinuxCommandLibrary

systemctl-log-level

Get or set systemd log verbosity

TLDR

Show current log level

$ systemctl log-level
copy
Set log level
$ systemctl log-level [emerg|alert|crit|err|warning|notice|info|debug]
copy

SYNOPSIS

systemctl log-level [LEVEL]

DESCRIPTION

systemctl log-level gets or sets the logging verbosity of the systemd service manager (PID 1). Without arguments, it displays the current level. With a level argument, it changes the verbosity at runtime.
Higher verbosity levels (debug, info) produce more log output and can help diagnose issues. Lower levels (err, crit) reduce noise in production.

LOG LEVELS

emerg - System is unusable
alert - Immediate action required
crit - Critical conditions
err - Error conditions
warning - Warning conditions
notice - Normal but significant
info - Informational messages
debug - Debug-level messages

CAVEATS

Changes are temporary and reset on reboot. For permanent changes, modify the systemd configuration. Debug level can produce significant log volume and impact performance.

HISTORY

The log-level subcommand provides runtime control over systemd's verbosity, useful for temporary debugging without configuration changes or restarts.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community