BusyBox上的多个日志文件Syslogd?
我将这个项目用于嵌入式Linux,并使用BusyBox + Syslogd。如何根据PID(过程ID)将日志分离为不同的文件。例如,我有多个运行服务(正在开发),我希望他们拥有一个单独的日志文件。我已经阅读了有关syslog.conf的信息,但是显然设施设置仅限于某些设置,例如用户,kern,mail,local0等。而且还有一个syslog-startup.conf for Busybox,我可以在其中设置文件(单个文件? ?)。
我们在QEMU-SYSTEM-ARM(VEXPRESS-A9)中使用BusyBox 1.29.3。
I have this project in embedded linux and using busybox + syslogd. How can I separate logs to different files depending on PID (process id). For example I have multiple running services(under development) and I want them to have a separate log files. I have read about syslog.conf, but apparently facility settings is limited to some settings like user, kern, mail, local0, etc. And there is also a syslog-startup.conf for busybox where I can set a file(single file??).
We are using busybox 1.29.3 in qemu-system-arm (vexpress-a9).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论