refactor(all): 优化日志loki标签默认值 防止没有默认值导致日志无法输出

This commit is contained in:
2024-01-26 14:05:38 +08:00
parent a3db5fd937
commit 2019f47567
13 changed files with 13 additions and 13 deletions

View File

@@ -14,7 +14,7 @@
</http>
<format>
<label>
<pattern>app=${APP_NAME},host=${HOSTNAME},level=%level</pattern>
<pattern>app=${APP_NAME:-none},host=${HOSTNAME:-none},level=%level</pattern>
<readMarkers>true</readMarkers>
</label>
<message>