Files
cheatsheet-tldr/tldr/linux/systemctl-log-target
2026-01-13 00:19:20 +00:00

18 lines
483 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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-target`
- Set the manager's log target:
`systemctl log-target {{journal-or-kmsg|journal|kmsg|console|syslog|null|auto}}`