Skip to content

Conversation

@serdarozerr
Copy link
Contributor

@serdarozerr serdarozerr commented Jan 21, 2026

Context

We introduced log-level support in storage-cli and, by default, route all log output to the stderr stream. On the cloud_controller_ng side, these logs need to be persisted to support troubleshooting or debugging.
In addition, storage-cli now exposes optional flags (e.g. -log-level, -log-file) that must be configurable and passed through from cloud_controller.

Solution

We implemented log-level–aware logging in cloud_controller_ng and ensured that all relevant output is written to cloud_controller_ng.log.
To support flexible configuration, we introduced a new config variable, storage_cli_optional_flags, which allows arbitrary extra flags to be forwarded directly to storage-cli.

The variable is defined as a single string containing the desired flags, for example:

-log-level info -log-file <some-path>/storage_cli.log

@serdarozerr serdarozerr changed the title Feature/log storagecli outputs extra flag parameter for storage-cli and logging stderr log stream Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant