Closed suztomo closed 2 months ago
This App.java is referenced in https://cloud.google.com/run/docs/samples/cloudrun-manual-logging#cloudrun_manual_logging-java. But the document does not explain how to instantiate and configure the logger variable.
https://cloud.google.com/run/docs/logging#run_manual_logging-java has the answer. So let's add the explanation in the source code comment.
Fixes #
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
pom.xml
shared-configuration
mvn clean verify
mvn -P lint checkstyle:check
mvn -P lint clean compile pmd:cpd-check spotbugs:check
@iennae Thank you for quick response. Now I see https://cloud.google.com/run/docs/samples/cloudrun-manual-logging#cloudrun_manual_logging-java has been updated. Good.
This App.java is referenced in https://cloud.google.com/run/docs/samples/cloudrun-manual-logging#cloudrun_manual_logging-java. But the document does not explain how to instantiate and configure the logger variable.
https://cloud.google.com/run/docs/logging#run_manual_logging-java has the answer. So let's add the explanation in the source code comment.
Description
Fixes #
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist
pom.xml
parent set to latestshared-configuration
mvn clean verify
requiredmvn -P lint checkstyle:check
requiredmvn -P lint clean compile pmd:cpd-check spotbugs:check
advisory only