refactor(all): 优化日志loki标签默认值 防止没有默认值导致日志无法输出
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user