Skip to content

casd: Fix logging levels

Jeremiah Bonney requested to merge jbonney/casd-log-fix into master

Before raising this MR, consider whether the following are required, and complete if so:

  • Unit tests

Description

This PR fixes a bug with logging in buildbox-casd where regardless of the --log-level or --verbose options it was only logging at ERROR.

Changes proposed in this merge request:

  • Don't re-initialize the logger in runDaemon
  • Properly set d_log_level when parsing the logging options.

Validation

Run buildbox-casd with any log level setting and see that it works.

Merge request reports