How to redirect systemd service's output to other places instead of systemd journal?
Issue
- The tomcat is writing the console output to systemd journal which becomes hard for reading.
- How to redirect the stdout and stderr to other devices or files?
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.