wibu-systems / docker-codemeter

0 stars 0 forks source link

Unify Service Initialization Logging Mechanisms #4

Open debuggin opened 3 months ago

debuggin commented 3 months ago

We have identified two issues with the current implementation of service initialization and logging mechanisms. Addressing these issues will improve the robustness and transparency of the service whilst making logging consistent.

Logging Mode Configuration:

Service Initialization:

We propose the following changes:

  1. Introduce an environment variable CM_LOGGING_MODE (defaultiung to -) to configure the logging mode replacing the existing loggingMode variable.
  2. Modify the initial service start command to include -l${CM_LOGGING_MODE} parameters and replace -f with -v.
  3. Modify the DEFAULT_CM_CMD to replace -l${loggingMode} with -l${CM_LOGGING_MODE}

This ensures logging is enabled from the beginning, providing necessary output for error diagnosis during license import.

y-seq commented 2 months ago

This issue will be tracked internally as FB32-100069.