GoogleCloudPlatform / functions-framework-nodejs

FaaS (Function as a service) framework for writing portable Node.js functions
Apache License 2.0
1.29k stars 158 forks source link

Serving Function... logs in GCP #623

Open ak--47 opened 2 months ago

ak--47 commented 2 months ago

i have noticed that when deploying my function, the Serving Function... console output shows in GCP logs: verbose msg

i would expect that message if I'm running functions-framework locally, but i would not expect it inside GCP... why does this extra come up? is there a way to suppress it?

here's my deploy command, in case i am doing something irregular:

gcloud alpha functions deploy my-func --gen2 --no-allow-unauthenticated --env-vars-file .env.yaml --runtime nodejs20 --region us-central1 --trigger-http --memory 4GB --entry-point entry --source ./dist/myapp/
FezVrasta commented 1 month ago

I have the opposite issue, I would like to see logs while running it locally 😒 how did you make it do it?

ak--47 commented 1 month ago

i'm mystified; i've only ever seen this on my local; never on cloud logger.