Closed elenagerman closed 4 months ago
@kononovn @trewest @achuzhoy WDYT?
@elenagerman According to our original agreement all logs in eco-goinfra project should have level 100. If you want to reduce number of logs your could delete them.
@elenagerman If you want to hide all logs from eco-goinfra you can set env var export ECO_VERBOSE_LEVEL below 100
@elenagerman If you want to hide all logs from eco-goinfra you can set env var export ECO_VERBOSE_LEVEL below 100
I didn't planed to hide all logs. The problem is that during long wait-for-something methods you getting such logs non stop and, on some stage losing relevant logs. As an example let's take WaitForAllNodesToReboot method: Wait for the reboot 1 node takes at least 5 mins. according to the pool size it will be biggest pool size * 5 mins. Each 2 second both Exists and IsReady print 1 message. Maybe we need to consider this option and to make some role related for glog??
@elenagerman There are 2 options
Personally I would prefer first or third option.
the default is 100 for almost all our methods and it's very hard to debug on nodes reboots