LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-service-log-target

Get or set per-service log destination

TLDR

Show service log target
$ systemctl service-log-target [service]
copy
Set to console
$ systemctl service-log-target [service] console
copy
Set to journal
$ systemctl service-log-target [service] journal
copy
Set to syslog
$ systemctl service-log-target [service] syslog
copy
Set to auto
$ systemctl service-log-target [service] auto
copy
Disable logging
$ systemctl service-log-target [service] null
copy

SYNOPSIS

systemctl service-log-target SERVICE [TARGET]

DESCRIPTION

systemctl service-log-target gets or sets where a service sends its log messages via D-Bus. This allows redirecting service logs at runtime without restarting.The service must support the standard D-Bus logging interface.

LOG TARGETS

console - Send logs to stderrjournal - Send logs to systemd-journaldsyslog - Send logs to /dev/logauto - Let systemd choosenull - Disable all log output

CAVEATS

Only works with D-Bus integrated services. Changes are temporary and reset on service restart. Not all services support this feature.

HISTORY

The service-log-target subcommand enables per-service log routing control for debugging and troubleshooting specific services.

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