Explorar el Código

set verbosity

abhishek9686 hace 4 meses
padre
commit
342aa97989
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      logic/settings.go

+ 1 - 0
logic/settings.go

@@ -46,6 +46,7 @@ func ValidateNewSettings(req models.ServerSettings) bool {
 func reInit() {
 	InitializeAuthProvider()
 	EmailInit()
+	SetVerbosity(int(GetServerSettings().Verbosity))
 }
 
 func GetServerSettingsFromEnv() (s models.ServerSettings) {