Add logging admin APIs for dashboard #114

This commit is contained in:
Gabe Kangas
2020-10-29 18:17:04 -07:00
parent 3963568951
commit 5c6f5fc697
5 changed files with 138 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import (
"flag"
"fmt"
"github.com/owncast/owncast/logging"
"github.com/sirupsen/logrus"
log "github.com/sirupsen/logrus"
@@ -80,6 +81,7 @@ func getVersion() string {
}
func configureLogging() {
logging.Setup()
log.SetFormatter(&log.TextFormatter{
FullTimestamp: true,
})