Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions appengine/standard_python37/cloud_debugger/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
# [START gae_python37_app]
from flask import Flask, request


# Enable cloud debugger
# Adjust logging level to INFO
try:
import googleclouddebugger
googleclouddebugger.enable()
import logging
logging.basicConfig(level=logging.INFO)
except ImportError:
pass

# Adjust logging level to INFO
import logging
logging.basicConfig(level=logging.INFO)

# If `entrypoint` is not defined in app.yaml, App Engine will look for an app
# called `app` in `main.py`.
app = Flask(__name__)
Expand Down