casd: Fix logging levels
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.