LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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 unusablealert - Immediate action requiredcrit - Critical conditionserr - Error conditionswarning - Warning conditionsnotice - Normal but significantinfo - Informational messagesdebug - 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

Copied to clipboard
Kai