systemctl-service-log-target
Get or set per-service log destination
TLDR
Show service log target
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 stderr
journal - Send logs to systemd-journald
syslog - Send logs to /dev/log
auto - Let systemd choose
null - 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.
