Skip to content

Commit

Permalink
Revert "Debug logging"
Browse files Browse the repository at this point in the history
This reverts commit 1cdaa16.
  • Loading branch information
ian-r-rose committed Dec 7, 2023
1 parent ce95588 commit 2d72bfd
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions jobs/geo/load_global_ml_building_footprints.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
from __future__ import annotations

import logging
import os

from jobs.utils.snowflake import gdf_to_snowflake, snowflake_connection_from_environment

for logger_name in ("snowflake.connector",):
logger = logging.getLogger(logger_name)
logger.setLevel(logging.DEBUG)
ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG)
ch.setFormatter(
logging.Formatter(
"%(asctime)s - %(threadName)s %(filename)s:%(lineno)d - %(funcName)s() - %(levelname)s - %(message)s"
)
)
logger.addHandler(ch)


HERE = os.path.dirname(os.path.abspath(__file__))


Expand Down

0 comments on commit 2d72bfd

Please sign in to comment.