我有一个 systemd 服务,它输出到日志文件
StandardOutput=file:/path/to/log/file
StandardError=file:/path/to/error/file
Run Code Online (Sandbox Code Playgroud)
我怎样才能在这些输出和错误前面添加数据+时间,以便它读取
10-09-2019 12:43:23 The output here.
Run Code Online (Sandbox Code Playgroud) systemd ×1