forked from TrueCloudLab/frostfs-node
[#1366] node, ir: Support timestamp
config option, update tests
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
parent
ea48e928c8
commit
d4bec24c9f
11 changed files with 24 additions and 1 deletions
|
@ -79,6 +79,8 @@ func main() {
|
|||
)
|
||||
exitErr(err)
|
||||
logPrm.SamplingHook = metrics.LogMetrics().GetSamplingHook()
|
||||
logPrm.PrependTimestamp = cfg.GetBool("logger.timestamp")
|
||||
|
||||
log, err = logger.NewLogger(logPrm)
|
||||
exitErr(err)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue