Skip to content

Allow setting log level via `--log-level` argument

Santiago Gil requested to merge santigl/log-level-option into master

Description

This introduces the --log-level CLI option to specify a log level. (By default it is set to ERROR, logging only the most critical messages).

The allowed values are those set in buildboxcommon_logging.h.

Changes proposed in this merge request:

  • Add --log-level CLI option
  • Make the --verbose option be a shortcut for --log-level=debug
  • Show the list of possible log levels in casd's help/usage
  • Set the corresponding log level in Daemon

This merge request, when merged, will address issue/bug:

#17 (closed)

Edited by Santiago Gil

Merge request reports