bitter-ability-32190
12/21/2021, 3:46 PM--stats-log
supersede level
? I have level
set to warn
, and it took me a while to figure out why my stats weren't being logged 😬hundreds-father-404
12/21/2021, 3:48 PMbitter-ability-32190
12/21/2021, 3:50 PMlog
the stats instead of printing them (other than the obvious "it's in the option name")bitter-ability-32190
12/21/2021, 3:51 PMhundreds-father-404
12/21/2021, 3:58 PMhundreds-father-404
12/21/2021, 4:00 PMbitter-ability-32190
12/21/2021, 4:03 PMbitter-ability-32190
12/21/2021, 4:04 PMlog-levels-by-target
?bitter-ability-32190
12/21/2021, 4:44 PMlevel = "warn"
log_levels_by_target = {"pants.goal.stats_aggregator" = "info"}
Doesn't seem to work, even though (on a different run):
0:42:38.47 [INFO] (pants.goal.stats_aggregator) Counters:
local_cache_read_errors: 0
local_cache_requests: 23
...
bitter-ability-32190
12/21/2021, 4:49 PMbitter-ability-32190
12/21/2021, 5:02 PMlog_levels_by_target
is broken 😢bitter-ability-32190
12/21/2021, 5:23 PMlog_levels_by_target
only worked in making this more quiet, but that didn't work either:
level = "debug"
log_levels_by_target = {'pants.goal.stats_aggregator' = "warn"}
11:21:40.91 [INFO] (pants.goal.stats_aggregator)
bitter-ability-32190
12/21/2021, 5:32 PMbitter-ability-32190
12/21/2021, 5:35 PMbitter-ability-32190
12/21/2021, 5:43 PM