Cleaner gin logging in debug

This commit is contained in:
Dane Everitt
2020-06-13 10:54:38 -07:00
parent b03aa20c8d
commit 495ad4defd
2 changed files with 20 additions and 4 deletions

View File

@@ -4,7 +4,6 @@ import (
"crypto/tls"
"fmt"
"github.com/apex/log"
"github.com/gin-gonic/gin"
"github.com/mitchellh/colorstring"
"github.com/pterodactyl/wings/loggers/cli"
"net/http"
@@ -224,8 +223,6 @@ func rootCmdRun(*cobra.Command, []string) {
"port": c.Api.Port,
}).Info("configuring webserver...")
gin.SetMode("release")
r := router.Configure()
addr := fmt.Sprintf("%s:%d", c.Api.Host, c.Api.Port)