CmdID

CmdID / Commands

systemctl-service-log-target

Get or set the log target for a service. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Get or set the log target for a service. Only works for D-Bus integrated services.

Show the current log target for a service

systemctl service-log-target service_nameIdentify

Set the log target to console (send logs to stderr)

systemctl service-log-target service_name consoleIdentify

Set the log target to journal (send logs to systemd-journald)

systemctl service-log-target service_name journalIdentify

Set the log target to syslog (send logs to /dev/log)

systemctl service-log-target service_name syslogIdentify

Allow systemd to choose an appropriate log target

systemctl service-log-target service_name autoIdentify

Disable all log output

systemctl service-log-target service_name nullIdentify