日志
配置
asjard:
## log configuration
logger:
## supports: DEBUG,INFO,WARN,ERROR,Case insensitive
# level: INFO
## log format, supports: text,json
# format: json
## log file path
# filePath: /dev/stdout
## Log explosion prevention configuration
## File size (in MB)
# maxSize: 100
## Maximum number of days to keep a file.
# maxAge: 0
## Maximum number of backups.
# maxBackups: 10
## Whether to compress
# compress: true
## access log configuration
accessLog:
## enable access log
# enabled: false
## format: [protocol://]{fullMethod}
## skip specify protocol and method: grpc:///api.v1.hello.Hello/Call
## skip a protocol-independent method: /api.v1.hello.Hello/Call
## skip all grpc proto: grpc
# skipMethods:
# - grpc
## other configurations same as asjard.logger
## gorm log configuration
gorm:
# ignoreRecordNotFoundError: false
# slowThreshold: 200ms
## other configurations same as asjard.logger
## banner log
banner:
## if enabled it will be print banner message after server start.
# enabled: true使用
最后更新于