Fix setting debug logger level
This commit is contained in:
		
							parent
							
								
									1211220208
								
							
						
					
					
						commit
						c02a740e10
					
				|  | @ -108,7 +108,7 @@ func (c *Controller) initController() { | ||||||
| 	c.logger.Infof("Config: %s", c.opConfig.MustMarshal()) | 	c.logger.Infof("Config: %s", c.opConfig.MustMarshal()) | ||||||
| 
 | 
 | ||||||
| 	if c.opConfig.DebugLogging { | 	if c.opConfig.DebugLogging { | ||||||
| 		c.logger.Level = logrus.DebugLevel | 		c.logger.Logger.Level = logrus.DebugLevel | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if err := c.createTPR(); err != nil { | 	if err := c.createTPR(); err != nil { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue