-
Notifications
You must be signed in to change notification settings - Fork 1.7k
log_text freezes in my Django project #3310
Copy link
Copy link
Closed
Labels
api: loggingIssues related to the Cloud Logging API.Issues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Metadata
Metadata
Assignees
Labels
api: loggingIssues related to the Cloud Logging API.Issues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I have this piece of code in my Django project and 'start' is printed but I never see 'end'.
Also, if I set
It won't freeze, but I don't see my log in stackdriver.It will work!
BTW, I also see this error in test cases but not in production env:
[UPDATE] It works fine locally, but when I deploy everything to kubenetes with Apache, I keep getting the same problem (log_text freezes).
[UPDATE] With
logging_client._use_grpc = False, it just works for me on kubenetes. It seems the grpc call will just freeze.