python - On the google app engine, how do I change the default logging level of the dev_appserver.py? -


Dev_appserver.py (the local development server for Python Google App Engine) spies many useless information messages. I want to do it for insult or error. How can I go about doing this?

I have tried the following, but it has no effect ...

  logger = logging.getLogger () logger.setLevel (logging .ARN)  

Any ideas?

Currently, the command line, you can only logging level in DEBUG from the '-d' command line option Can reduce.


If you are not afraid to edit the script, then

  DEFAULT_ARGS = {... ARG_LOG_LEVEL: logging .INFO,   

C: \ Program Files \ Google \ google_appengine \ google \ appengine \ tools \ dev_appserver_main.py


Comments