This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-os-buildimage/ansible/roles/sapp/templates/sapp_log.conf.j2
yangwei 37f46570ca 🐞 fix(sapp_log.conf.j2):
Resloves TSG-6656 调整plugin.log文件名,修复plugin.log不存在,导致zlog初始化失败的bug
2021-06-10 18:37:54 +08:00

17 lines
419 B
Django/Jinja

[global]
default format = "%d(%c), %V, %U, %m%n"
rotate lock file = /tmp/sapp_zlog.lock
file perms = 644
[levels]
DEBUG=10
INFO=20
FATAL=30
[formats]
other = "%d(%c), %V, %F, %U, %m%n"
plugin = "%d(%c), %m%n"
[rules]
__log_runtimelog.info "./log/runtimelog.%d(%F)"
__log_runtimelog_plugin.fatal >stdout; plugin
__log_runtimelog_plugin.info "./log/plugin.log.%d(%F)"; plugin
!.fatal "./log/%c.%d(%F)"; other