From f67a69b65d82059153e5210f5d40fc8fa79cce0b Mon Sep 17 00:00:00 2001 From: Ziheng Sun Date: Thu, 4 Jul 2024 13:04:35 -0400 Subject: [PATCH] annoying logging --- pygeoweaver/pgw_log_config.py | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pygeoweaver/pgw_log_config.py b/pygeoweaver/pgw_log_config.py index 21c591d..c523743 100644 --- a/pygeoweaver/pgw_log_config.py +++ b/pygeoweaver/pgw_log_config.py @@ -1,5 +1,6 @@ import inspect import logging +from logging.config import fileConfig import os @@ -26,7 +27,7 @@ def setup_logging(): with open(config_file, 'wt') as f: f.write(config_str) - logging.config.fileConfig(config_file) + fileConfig(config_file) os.remove(config_file) diff --git a/pyproject.toml b/pyproject.toml index 410f9e0..3a9301d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pygeoweaver" -version = "1.0.8" +version = "1.0.9" authors = [{ name="Geoweaver team", email="geoweaver.app@gmail.com" }] description = "This is a wrapper package of the Geoweaver app." readme = "README.md"