mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	Update gated-writer logic a bit (#8227)
This is to smooth some other changes coming once https://github.com/hashicorp/go-hclog/pull/56 lands
This commit is contained in:
		| @@ -223,7 +223,7 @@ func (c *DebugCommand) Run(args []string) int { | ||||
| 	} | ||||
|  | ||||
| 	// Initialize the logger for debug output | ||||
| 	logWriter := &gatedwriter.Writer{Writer: os.Stderr} | ||||
| 	logWriter := gatedwriter.NewWriter(os.Stderr) | ||||
| 	if c.logger == nil { | ||||
| 		c.logger = logging.NewVaultLoggerWithWriter(logWriter, hclog.Trace) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeff Mitchell
					Jeff Mitchell