mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
483 B
Plaintext
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}}`
|