Skip to content

Commit 5f027f4

Browse files
committed
add logging config
1 parent 4a07f93 commit 5f027f4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cfa/dataops/catalog.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
_config = ConfigParser()
4444
_config.read(os.path.join(_here, "config.ini"))
4545

46+
logging.basicConfig(
47+
level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s"
48+
)
4649
logger = logging.getLogger(__name__)
4750

4851

0 commit comments

Comments
 (0)