Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serving Function... logs in GCP #623

Open
ak--47 opened this issue Jul 19, 2024 · 2 comments
Open

Serving Function... logs in GCP #623

ak--47 opened this issue Jul 19, 2024 · 2 comments

Comments

@ak--47
Copy link

ak--47 commented Jul 19, 2024

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
Copy link

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

@ak--47
Copy link
Author

ak--47 commented Aug 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants