potiuk commented on a change in pull request #7711: [AIRFLOW-7055] Verbose 
logging option for google provider
URL: https://github.com/apache/airflow/pull/7711#discussion_r392357581
 
 

 ##########
 File path: airflow/providers/google/__init__.py
 ##########
 @@ -14,3 +14,19 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+import logging
+
+from airflow.configuration import conf
+
+PROVIDERS_GOOGLE_VERBOSE_LOGGING: bool = conf.getboolean('providers_google',
+                                                         'VERBOSE_LOGGING', 
fallback=False)
+if PROVIDERS_GOOGLE_VERBOSE_LOGGING:
+    for a in ["google_auth_httplib2", "httplib2", "googleapiclient"]:
+        logger = logging.getLogger(a)
+        logger.handlers = [handler for handler in
 
 Review comment:
   What would be the consequence of that? Do you think it's better to add?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to