[#1366] node, ir: Support timestamp config option, update tests

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
Aleksey Savchuk 2024-09-16 10:46:26 +03:00
parent ea48e928c8
commit d4bec24c9f
No known key found for this signature in database
11 changed files with 24 additions and 1 deletions

View file

@ -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)