chore: add Npgsql log level config to suppress GSSAPI warnings
- Set Logging__LogLevel__Npgsql to Error in ConfigMap - Prevents libgssapi_krb5.so.2 warning spam in logs
This commit is contained in:
parent
4dff327fa6
commit
7ca5e879b4
17
k8s/test/configmap.yaml
Normal file
17
k8s/test/configmap.yaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: fengling-gateway-config
|
||||||
|
namespace: fengling-test
|
||||||
|
labels:
|
||||||
|
app: fengling-gateway
|
||||||
|
data:
|
||||||
|
ASPNETCORE_ENVIRONMENT: "Production"
|
||||||
|
Kestrel__Endpoints__Http__Url: "http://0.0.0.0:8080"
|
||||||
|
Logging__LogLevel__Default: "Information"
|
||||||
|
Logging__LogLevel__Microsoft__AspNetCore: "Warning"
|
||||||
|
Logging__LogLevel__Npgsql: "Error" # 隐藏 GSSAPI 警告
|
||||||
|
Logging__LogLevel__Yarp__ReverseProxy: "Information"
|
||||||
|
ServiceDiscovery__UseInClusterConfig: "true"
|
||||||
|
ServiceDiscovery__Namespace: "fengling-test"
|
||||||
|
ServiceDiscovery__LabelSelector: "app-router-name"
|
||||||
Loading…
Reference in New Issue
Block a user