You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function CreateNamespaceAndAddAnnotation and its sub-functions CreateNamespace, addNamespaceAnnotationForVolSync currently lack DEBUG-level logging. So need to add debug logs.
Task:
Debug log after namespace creation (in CreateNamespace)
Debug log after adding namespace annotations (in addNamespaceAnnotationForVolSync)
Update info to debug log for namespace deletion (in DeleteNamespace)
Debug log after creating and annotating in CreateNamespaceAndAddAnnotation.
example: log.Debugf("Created and annotated namespace "%s" in DRClusters", namespace)
Verify logs by running e2e tests
The text was updated successfully, but these errors were encountered:
Debug log after creating and annotating in CreateNamespaceAndAddAnnotation.
example: log.Debugf("Created and annotated namespace "%s" in DRClusters", namespace)
This log is not needed since we will have separate logs for creating and annotating. We want to log in the basic operations so we don't need to think about logging. Every operation is automatically logged by the lower level calls with zero maintenance.
parikshithb
changed the title
e2e: add debug logs for CreateNamespaceAndAddAnnotation
e2e: add debug logs for CreateNamespaceAndAddAnnotation and deleteNamespace
Feb 18, 2025
The function CreateNamespaceAndAddAnnotation and its sub-functions CreateNamespace, addNamespaceAnnotationForVolSync currently lack DEBUG-level logging. So need to add debug logs.
Task:
example:
log.Debugf("Created and annotated namespace "%s" in DRClusters", namespace)
The text was updated successfully, but these errors were encountered: