[#154] Add debug logging for rejected attachment types & strip meta-info from mime-type (#155)

This commit is contained in:
Knut Ahlers 2023-11-23 10:36:36 +01:00 committed by GitHub
parent eb2bce3119
commit dc47bf0861
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 2 deletions

View file

@ -3,6 +3,7 @@ package main
import (
"fmt"
"github.com/Luzifer/ots/pkg/client"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
@ -28,5 +29,7 @@ func rootPersistentPreRunE(cmd *cobra.Command, _ []string) error {
}
logrus.SetLevel(ll)
client.Logger = logrus.NewEntry(logrus.StandardLogger())
return nil
}