Skip to content

Debugging and error reporting

Dmitry Fleytman edited this page Dec 22, 2016 · 1 revision

Rebuild CLI logging


Rebuild CLI logging is controlled by environment variables RBLD_LOG_LEVEL and RBLD_LOG_FILE.

Variable RBLD_LOG_LEVEL controls log verbosity, possible values are info, warn, error and fatal.

By default logging is disabled.

Variable RBLD_LOG_FILE defines name of file for logs to be sent to.

By default logs are printed to STDOUT.

Environment bootstrap tracing


Environment bootstrap tracing is controled by environment variable RBLD_BOOTSTRAP_TRACE.

Setting this variable to 1 enables environment startup tracing for rbld run and rbld modify.

By default tracing is disabled.