Fix setting debug logger level

This commit is contained in:
Murat Kabilov 2017-08-01 11:51:03 +02:00 committed by GitHub
parent 1211220208
commit c02a740e10
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ func (c *Controller) initController() {
c.logger.Infof("Config: %s", c.opConfig.MustMarshal())
if c.opConfig.DebugLogging {
c.logger.Level = logrus.DebugLevel
c.logger.Logger.Level = logrus.DebugLevel
}
if err := c.createTPR(); err != nil {