Skip to content

Commit

Permalink
Merge pull request #770 from SimonScholz/fix/gcp_logging_project_id
Browse files Browse the repository at this point in the history
[GCP Logging] GCP project id from quarkus config is not considered
  • Loading branch information
loicmathieu authored Feb 12, 2025
2 parents 4793f98 + d5ffea9 commit f8c857f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class LoggingProducer {
public Logging create() {
GcpBootstrapConfiguration gcpConfiguration = gcpConfigHolder.getBootstrapConfig();
String projectId = gcpConfiguration.projectId().orElse(null);
Logging log = LoggingOptions.getDefaultInstance().toBuilder()
Logging log = LoggingOptions.newBuilder()
.setCredentials(googleCredentials)
.setProjectId(projectId)
.build()
Expand Down

0 comments on commit f8c857f

Please sign in to comment.