diff --git a/README.md b/README.md index 7033b3a..46ebad2 100644 --- a/README.md +++ b/README.md @@ -64,14 +64,6 @@ the [`examples/`](https://github.com/NERDSITU/superblockify/blob/main/scripts/ex folder and a [minimal working example](https://github.com/NERDSITU/superblockify/blob/main/scripts/examples/mwe.py). -## Logging - -The logging is done using the `logging` module. The logging level can be set in the -`setup.cfg` file. The logging level can be set to `DEBUG`, `INFO`, `WARNING`, `ERROR` -or `CRITICAL`. It defaults to `INFO` and a rotating file handler is set up to log -to `results/logs/superblockify.log`. The log file is rotated every megabyte, and the -last three log files are kept. - ## Testing The tests are specified using the `pytest` signature, see [`tests/`](tests/) folder, and diff --git a/environment.yml b/environment.yml index e12dd04..3e6c788 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,6 @@ dependencies: - geopandas - rasterio - shapely - - pyrosm - numba - tqdm - contextily diff --git a/pyproject.toml b/pyproject.toml index ea694ff..65a9a14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,6 @@ dependencies = [ "geopandas", "rasterio", "shapely", - "pyrosm", "numba", "tqdm", "contextily", diff --git a/superblockify/logging.cfg b/superblockify/logging.cfg index 1b2301a..f52aa99 100644 --- a/superblockify/logging.cfg +++ b/superblockify/logging.cfg @@ -2,7 +2,7 @@ keys = root [handlers] -keys = consoleHandler,RotatingFileHandler +keys = consoleHandler [formatters] keys = simpleFormatter @@ -13,7 +13,7 @@ handlers = consoleHandler [logger_superblockify] level = INFO -handlers = consoleHandler,RotatingFileHandler +handlers = consoleHandler qualname = superblockify propagate = 1 @@ -30,11 +30,5 @@ formatter = simpleFormatter args = (sys.stdout,) qualname = tqdm -[handler_RotatingFileHandler] -class = handlers.RotatingFileHandler -level = DEBUG -formatter = simpleFormatter -args = ('superblockify.log', 'w+', 1e6, 3) - [formatter_simpleFormatter] format = %(asctime)s | %(levelname)8s | %(filename)s:%(lineno)d | %(message)s