summaryrefslogtreecommitdiff
path: root/internal/config/validate.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/validate.go')
-rw-r--r--internal/config/validate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/config/validate.go b/internal/config/validate.go
index b2bdda960..b68cb2c62 100644
--- a/internal/config/validate.go
+++ b/internal/config/validate.go
@@ -24,7 +24,7 @@ import (
"strings"
"github.com/miekg/dns"
- "github.com/sirupsen/logrus"
+ "github.com/superseriousbusiness/gotosocial/internal/log"
)
// Validate validates global config settings which don't have defaults, to make sure they are set sensibly.
@@ -55,7 +55,7 @@ func Validate() error {
// no problem
break
case "http":
- logrus.Warnf("%s was set to 'http'; this should *only* be used for debugging and tests!", ProtocolFlag())
+ log.Warnf("%s was set to 'http'; this should *only* be used for debugging and tests!", ProtocolFlag())
case "":
errs = append(errs, fmt.Errorf("%s must be set", ProtocolFlag()))
default: