Skip to content

Commit

Permalink
COSI-35: add-comments-for-log-levels
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Dec 18, 2024
1 parent f9f5345 commit b02a854
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
8 changes: 7 additions & 1 deletion helm/scality-cosi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ image:

replicaCount: 1


# Log levels define the verbosity of logs for various parts of the system.
# Use these levels to control the detail included in the logs:
# 1 - General configuration, routine logs
# 2 - Steady-state operations, HTTP requests, system state changes (default)
# 3 - Extended changes, additional system details
# 4 - Debug-level logs, tricky logic areas
# 5 - Trace-level logs, context for troubleshooting
logLevels:
driver: "2"
sidecar: "2"
Expand Down
7 changes: 7 additions & 0 deletions kustomize/overlays/debug/scality-cosi-driver.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# Log levels define the verbosity of logs for various parts of the system.
# Use these levels to control the detail included in the logs:
# 1 - General configuration, routine logs
# 2 - Steady-state operations, HTTP requests, system state changes (default)
# 3 - Extended changes, additional system details
# 4 - Debug-level logs, tricky logic areas
# 5 - Trace-level logs, context for troubleshooting
COSI_DRIVER_LOG_LEVEL=5
OBJECTSTORAGE_PROVISIONER_SIDECAR_LOG_LEVEL=5
7 changes: 7 additions & 0 deletions kustomize/overlays/dev/scality-cosi-driver.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# Log levels define the verbosity of logs for various parts of the system.
# Use these levels to control the detail included in the logs:
# 1 - General configuration, routine logs
# 2 - Steady-state operations, HTTP requests, system state changes (default)
# 3 - Extended changes, additional system details
# 4 - Debug-level logs, tricky logic areas
# 5 - Trace-level logs, context for troubleshooting
COSI_DRIVER_LOG_LEVEL=5
OBJECTSTORAGE_PROVISIONER_SIDECAR_LOG_LEVEL=5
7 changes: 7 additions & 0 deletions kustomize/overlays/production/scality-cosi-driver.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# Log levels define the verbosity of logs for various parts of the system.
# Use these levels to control the detail included in the logs:
# 1 - General configuration, routine logs
# 2 - Steady-state operations, HTTP requests, system state changes (default)
# 3 - Extended changes, additional system details
# 4 - Debug-level logs, tricky logic areas
# 5 - Trace-level logs, context for troubleshooting
COSI_DRIVER_LOG_LEVEL=2
OBJECTSTORAGE_PROVISIONER_SIDECAR_LOG_LEVEL=2

0 comments on commit b02a854

Please sign in to comment.