Skip to content

Optimize performance of logging

Pavel Kisliak requested to merge epam/uniform_logging_style6 into main

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [No]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Updates description?

  • Optimize performance of logging messages which are filtered by logging level (lazy formatting)
  • Replace hierarchy of Message classes to static array with Severity metadata
  • Reduce dependencies from 3rd-party libraries in header files (replaced usages of boost::shared_ptr and boost::posix_time)

Before this particular MR:

image

After optimizations:

image.png

Merge request reports