mirror of https://bitbucket.org/ausocean/av.git
treat: removed debug by default
This commit is contained in:
parent
0646c36491
commit
52e7881b62
|
@ -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())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue