跳至正文
Wener Notes

Syslog

约 1 分钟阅读
  • AlpineLinux 默认 busybox syslog
  • 如果需要使用更多功能,建议选择 rsyslog

busybox syslog

rsyslog

bash
brew install rsyslog

syslog-ng

ini
@version: 3.9

destination d_general {
  file("/data/log/general.log");
};

source s_remote {
    tcp(ip(0.0.0.0) port(10514));
    udp(ip(0.0.0.0) port(10514));
};

log {
  source(s_remote);
  destination(d_general);
};

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

GitHub2 条
其他外链4 条
最近更新commit 9bc36d1编辑