LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-log-target

Get or set systemd log destination

TLDR

Show current log target
$ systemctl log-target
copy
Set log target
$ systemctl log-target [journal-or-kmsg|journal|kmsg|console|syslog|null|auto]
copy

SYNOPSIS

systemctl log-target [TARGET]

DESCRIPTION

systemctl log-target gets or sets where the systemd service manager sends its log messages. Without arguments, it displays the current target. With a target argument, it redirects logging at runtime.This controls where systemd's own messages go, separate from where individual service logs are sent.

LOG TARGETS

journal-or-kmsg - Journal if available, else kernel ring bufferjournal - systemd journal onlykmsg - Kernel ring buffer (dmesg)console - System consolesyslog - Traditional syslognull - Discard all logsauto - Automatic selection

CAVEATS

Changes are temporary and reset on reboot. Console logging can slow the system and flood the display. Null target discards all systemd diagnostic output.

HISTORY

The log-target subcommand provides runtime control over systemd's log destination, useful for debugging boot issues or redirecting logs in specific environments.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid