Page MenuHomeSoftware Heritage

logging: replace f-strings in logging calls
ClosedPublic

Authored by haltode on Nov 17 2020, 2:43 PM.

Details

Summary

Do not unnecessarily format string (eg: when log statement is below
current log level).

Diff Detail

Repository
rDFUSE FUSE virtual file system
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D4492 (id=15933)

Rebasing onto 5fdda3d1cf...

Current branch diff-target is up to date.
Changes applied before test
commit 2be0aa2f2b8c46c7e511a8d95a07c3e4550da7a7
Author: Thibault Allançon <haltode@gmail.com>
Date:   Tue Nov 17 14:39:21 2020 +0100

    logging: replace f-strings in logging calls
    
    Do not unnecessarily format string (eg: when log statement is below
    current log level).

See https://jenkins.softwareheritage.org/job/DFUSE/job/tests-on-diff/157/ for more details.

This revision is now accepted and ready to land.Nov 17 2020, 2:46 PM