snippetbashTip
systemctl log-target — Get or set the log target for the systemd manager. More information: <https://www.freedesktop.org/so
Viewed 0 times
thecommandclilogsetsystemctl log-targetgettarget
linux
Problem
How to use the
systemctl log-target command: Get or set the log target for the systemd manager. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#log-target%20%5BTARGET%5D>.Solution
systemctl log-target — Get or set the log target for the systemd manager. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#log-target%20%5BTARGET%5D>.Show the current log target of the systemd manager:
systemctl log-targetSet the manager's log target:
systemctl log-target {{journal-or-kmsg|journal|kmsg|console|syslog|null|auto}}Code Snippets
Show the current log target of the systemd manager
systemctl log-targetSet the manager's log target
systemctl log-target {{journal-or-kmsg|journal|kmsg|console|syslog|null|auto}}Context
tldr-pages: linux/systemctl log-target
Revisions (0)
No revisions yet.