Skip to content

Commit 4140467

Browse files
authored
Add log message for Google Secrets project loading (#24)
Introduce a log message to indicate which Google Secrets project is being loaded, enhancing debugging capabilities when multiple projects are in use.
1 parent 78d95b0 commit 4140467

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and adheres to a project-specific [Versioning](/README.md).
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Added a log message to indicate which project is being used for Google Secrets. This is useful for debugging and understanding which project is being used when multiple projects are available.
13+
1014
## [1.5.0] - 2025-04-15
1115

1216
### Added

GoogleSecrets/GoogleSecretsProvider.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public override void Load()
5151
return;
5252
}
5353

54+
this.logger.LogInformation($"Loading secrets from project {this.Source.ProjectName}");
55+
5456
// Create client
5557
SecretManagerServiceClient secretManagerServiceClient = SecretManagerServiceClient.Create();
5658

0 commit comments

Comments
 (0)