cloudendpoints / endpoints-python

A Python framework for building RESTful APIs on Google App Engine
Apache License 2.0
51 stars 17 forks source link

Logging overhaul #168

Closed inklesspen closed 6 years ago

inklesspen commented 6 years ago

Package loggers will now have a default logging level of INFO, meaning the DEBUG-level log statements will not be shown.

This is easily overridden in customer code with something like this: logging.getLogger('endpoints').setLevel(logging.DEBUG)

Additionally, some logging levels have been corrected.

inklesspen commented 6 years ago

This corresponds to https://github.com/cloudendpoints/endpoints-management-python/pull/75