treat: removed debug by default

This commit is contained in:
Trek H 2020-09-14 11:22:11 +09:30
parent 0646c36491
commit 52e7881b62
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ const (
logMaxSize = 500 // MB logMaxSize = 500 // MB
logMaxBackup = 10 logMaxBackup = 10
logMaxAge = 28 // days logMaxAge = 28 // days
logVerbosity = logger.Debug logVerbosity = logger.Info
logSuppress = true logSuppress = true
) )
@ -120,7 +120,7 @@ func main() {
// Revid will handle the recording and sending of audio for sound checking. // Revid will handle the recording and sending of audio for sound checking.
log.Log(logger.Debug, "initialising revid") log.Log(logger.Debug, "initialising revid")
rv, err := revid.New(config.Config{Logger: log, LogLevel: logger.Debug}, ns) rv, err := revid.New(config.Config{Logger: log}, ns)
if err != nil { if err != nil {
log.Log(logger.Fatal, "could not initialise revid", "error", err.Error()) log.Log(logger.Fatal, "could not initialise revid", "error", err.Error())
} }