functions/logging: add stdout/stderr + ignored logs severity note#2422
Merged
gcf-merge-on-green[bot] merged 6 commits intomasterfrom Mar 21, 2020
Merged
functions/logging: add stdout/stderr + ignored logs severity note#2422gcf-merge-on-green[bot] merged 6 commits intomasterfrom
gcf-merge-on-green[bot] merged 6 commits intomasterfrom
Conversation
lesv
approved these changes
Mar 16, 2020
Comment on lines
+35
to
+40
| System.out.println("I am an info log to stdout!"); | ||
| System.err.println("I am an info log to stderr!"); | ||
|
|
||
| // Stackdriver does not detect severity from Cloud Functions log output | ||
| LOGGER.info("I am an info log to Stackdriver!"); | ||
| LOGGER.warning("I am an info log to Stackdriver!"); |
Contributor
There was a problem hiding this comment.
I thought that we did look for WARNING and INFO and other key words to fill stackdriver
Contributor
Author
There was a problem hiding this comment.
Confirmed with @vinod-at-google (GCF PM) that this is a known problem
olavloite
pushed a commit
to olavloite/java-docs-samples
that referenced
this pull request
Mar 22, 2020
…ogleCloudPlatform#2422) ~@vinod-at-google @labtopia IIRC the lack of log severity info is a known issue. (If it's not, let me know so I can hold off on merging this PR.)~
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@vinod-at-google @labtopia IIRC the lack of log severity info is a known issue. (If it's not, let me know so I can hold off on merging this PR.)