Re: [CentOS] systemd does not generate both StandardOutput and StandardError files in /var/log/ directory

2021-11-05 Thread Simon Matter
Hi, > Hi, > > I am running CentOS Linux release 7.9.2009 (Core). I have created a > systemd > service for a java service. I want to capture both stdout and stderr to > files under /var/log directory. > # cat /etc/redhat-release > CentOS Linux release 7.9.2009 (Core) > # > # rpm -qa | grep systemd

[CentOS] systemd does not generate both StandardOutput and StandardError files in /var/log/ directory

2021-11-05 Thread Kaushal Shriyan
Hi, I am running CentOS Linux release 7.9.2009 (Core). I have created a systemd service for a java service. I want to capture both stdout and stderr to files under /var/log directory. # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # # rpm -qa | grep systemd systemd-sysv-219-78.el7_