Open sanity opened 2 years ago
Looking at the logs in Google Cloud, here is an example log entry:
{ "textPayload": "[main] INFO Application - Responding at http://0.0.0.0:8080", "insertId": "r7iddfioc0p12ds0", "resource": { "type": "k8s_container", "labels": { "location": "us-east1", "cluster_name": "freenet-org-east1", "pod_name": "freenet-org-staging-6bd8c784dd-grvkg", "namespace_name": "freenetorg", "project_id": "freenet-353920", "container_name": "freenet-org-app-staging" } }, "timestamp": "2022-09-17T17:29:00.064010148Z", "severity": "ERROR", "labels": { "compute.googleapis.com/resource_name": "gk3-freenet-org-east1-nap-qxu2i4zq-61f7e03d-ttwd", "k8s-pod/pod-template-hash": "6bd8c784dd", "k8s-pod/app": "freenet-org-staging" }, "logName": "projects/freenet-353920/logs/stderr", "receiveTimestamp": "2022-09-17T17:29:04.819376748Z" }
Note that the SEVERITY is ERROR even though this is an INFO level log message. Is this because its being logged to stderr?
stderr
I'm not sure. I'll have to do a little reading on this one.
Looking at the logs in Google Cloud, here is an example log entry:
Note that the SEVERITY is ERROR even though this is an INFO level log message. Is this because its being logged to
stderr
?