Skip to content

libs: use a more configurable logging strategy

Darryl Green requested to merge github/fork/derkling/update-logging into master

Created by: derkling

This is a big re-factoring which update all the logging statements to make use of a (possibly) more sane configuration:

  • each module is loading a logger configuration which has the same name of the module
  • loggers can be configured using a single logfile (logging.conf) which is provided in the LISA's root folder

Each logger can be configured to specify:

  • loglevel: INFO by default for all modules
  • output channels: console and logfile (lisa.log) by default for all modules
  • string format: something same by default for all modules

If logging.conf does not specify a specific configuration for a logger, than the default logger configuration apply, which is the one defined by the "root" logger.

Signed-off-by: Patrick Bellasi patrick.bellasi@arm.com

Merge request reports