mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
fix hclog level
This commit is contained in:
@@ -1921,7 +1921,7 @@ func (c *Client) addAlloc(alloc *structs.Allocation, migrateToken string) error
|
||||
//XXX FIXME
|
||||
logger := hclog.New(&hclog.LoggerOptions{
|
||||
Name: "nomad",
|
||||
Level: hclog.LevelFromString("DEBUG"),
|
||||
Level: hclog.LevelFromString(c.configCopy.LogLevel),
|
||||
})
|
||||
|
||||
c.configLock.RLock()
|
||||
|
||||
Reference in New Issue
Block a user