fix logs not working properly (#264)

This commit is contained in:
tobi 2021-10-04 16:00:35 +02:00 committed by GitHub
commit ff77bf1d11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View file

@ -69,7 +69,7 @@ func (f *federatingDB) NewID(ctx context.Context, t vocab.Type) (idURL *url.URL,
},
)
if l.Level >= logrus.DebugLevel {
if f.log.Level >= logrus.DebugLevel {
i, err := marshalItem(t)
if err != nil {
return nil, err