feat(logging): Add CSP-specific logging customization for GCP (#421)
Type of change
-
Feature
Does this introduce a change in the core logic?
-
Yes
Does this change the cloud provider implementation, and if so, which cloud?
-
GCP
Does this introduce a change that must be documented in the README.md file?
-
No
Updates description
This merge request introduces CSP-specific logging configuration, addressing Issue #421 (closed) where Google Cloud logs incorrectly displayed all severity levels as ERROR.
Key Updates:
- Added support for Google Cloud logging setup with the
setup_logging()function, ensuring compatibility with GCP by adjusting log format and severity levels. - Refactored logging behavior to include CSP-specific customization, similar to the approach used for CSP blob storages.
- Ensured that non-GCP deployments remain unaffected and existing functionality is preserved.
Related Link:
Issue #421 (closed) : Add ability to customize logging for CSPs