Problem with Cloud Functions logs and Node.js

491 views
Skip to first unread message

Elad Shaham

unread,
Sep 9, 2019, 4:53:13 PM9/9/19
to Google Cloud Developers
I no longer see logs I write to console in stackdriver logs.
I have node 10 deployed to several different cloud functions. 
It used to work for me in the past, but now I only see system logs, but none of my console.log / console.info / console.error logs
Any ideas?

George (Cloud Platform Support)

unread,
Sep 10, 2019, 11:01:19 AM9/10/19
to Google Cloud Developers
Hello Elad, 

How do you view your logs usually? Have you tried the "gcloud functions logs read" command? You may read related detail in the Viewing logs sub-chapter of the  "Writing, Viewing, and Responding to Logs" online document. 

Your issue seems to be confined to your project. To examine your situation in depth, details such as project name are needed, which cannot be publicly written in a Groups thread. You are encouraged to open a detailed issue on this matter in the Public Issue Tracker, where privacy level can be adjusted accordingly. 
Reply all
Reply to author
Forward
0 new messages