refactor: don't use f-string on logging statements
The strings are now be formatted if the logging level is enabled.
This commit is contained in:
parent
c414068c16
commit
861698987c
23 changed files with 94 additions and 84 deletions
|
@ -153,7 +153,7 @@ class StatsCollectorThread(Thread):
|
|||
self._collector = StatsCollector(legacy_client)
|
||||
|
||||
def run(self):
|
||||
logger.info(f"starting {self.name}")
|
||||
logger.info("starting %s", self.name)
|
||||
while True:
|
||||
try:
|
||||
self._collector.collect(self._config.stream.outputs.merged)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue