-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove eager string formatting in log statements
Log message formatting should be left to the logging system instead of being carried out by users; this is because in many cases, specially in the lower logging levels like DEBUG, messages will actually be filtered out and never make it to any of the sinks. This is sadly a very common mistake one sees in the wild, and can cause real performance issues. These might have been the slow logging reported in #142, but even if it isn't the change is beneficial. Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
- Loading branch information
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters