Explorar el Código

fix unexpected behavior of config inheritance

Yoginth hace 7 años
padre
commit
507df37599
Se han modificado 2 ficheros con 193 adiciones y 193 borrados
  1. 8 8
      conf/app.ini
  2. 185 185
      pkg/bindata/bindata.go

+ 8 - 8
conf/app.ini

@@ -323,13 +323,13 @@ LEVEL = Trace
 
 ; For "console" mode only
 [log.console]
-; leave empty to inherit
-LEVEL =
+; Comment out to inherit
+; LEVEL =
 
 ; For "file" mode only
 [log.file]
-; leave empty to inherit
-LEVEL =
+; Comment out to inherit
+; LEVEL =
 ; This enables automated log rotate (switch of following options)
 LOG_ROTATE = true
 ; Segment log daily
@@ -343,14 +343,14 @@ MAX_DAYS = 7
 
 ; For "slack" mode only
 [log.slack]
-; leave empty to inherit
-LEVEL =
+; Comment out to inherit
+; LEVEL =
 ; Webhook URL
 URL =
 
 [log.discord]
-; leave empty to inherit
-LEVEL =
+; Comment out to inherit
+; LEVEL =
 ; Webhook URL
 URL =
 ; Username displayed in webhook

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 185 - 185
pkg/bindata/bindata.go