mirror of http://gitlab.batiao8.com/yic/film.git
This commit is contained in:
parent
6888a8a813
commit
64af675bbd
|
@ -43,6 +43,7 @@ func initLog() {
|
||||||
log.SetFormatter(new(goutil.LogFile))
|
log.SetFormatter(new(goutil.LogFile))
|
||||||
log.SetLevel(log.Level(cfg.Server.LogLevel))
|
log.SetLevel(log.Level(cfg.Server.LogLevel))
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
config.LoadServerConfig()
|
config.LoadServerConfig()
|
||||||
initLog()
|
initLog()
|
||||||
|
|
Loading…
Reference in New Issue