We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5464368 commit 3b9cbc9Copy full SHA for 3b9cbc9
2 files changed
config/config.yaml.example
@@ -5,7 +5,7 @@ server: # 媒体服务器相关设置
5
addr: http://localhost:8096 # 媒体服务器地址
6
auth: 2eaxxxxxxxxxa8 # 媒体服务器认证方式
7
8
-logger: # 日志设定
+log: # 日志设定
9
access: # 访问日志设定
10
console: true # 是否将访问日志文件输出到终端中
11
file: false # 是否将访问日志文件记录到文件中
internal/config/type.go
@@ -99,7 +99,7 @@ type SubtitleSetting struct {
99
type Setting struct {
100
Port uint16 `yaml:"port"`
101
MediaServer MediaServerSetting `yaml:"server"`
102
- Logger LoggerSetting `yaml:"logger"`
+ Logger LoggerSetting `yaml:"log"`
103
Cache CacheSetting `yaml:"cache"`
104
Web WebSetting `yaml:"web"`
105
ClientFilter ClientFilterSetting `yaml:"client"`
0 commit comments