Commit 9fb10b35 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Pass logger to irma package

parent fcc1b59b
......@@ -25,6 +25,7 @@ func Initialize(configuration *server.Configuration) error {
conf.Logger.Formatter = &logrus.TextFormatter{}
}
server.Logger = conf.Logger
irma.Logger = conf.Logger
if conf.IrmaConfiguration == nil {
var err error
......@@ -36,7 +37,6 @@ func Initialize(configuration *server.Configuration) error {
return err
}
if len(conf.IrmaConfiguration.SchemeManagers) == 0 {
conf.Logger.Info("No schemes found in irma_configuration, downloading default schemes")
if err := conf.IrmaConfiguration.DownloadDefaultSchemes(); err != nil {
return err
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment