vendral / szperacz

OSINT-like tool to discover, analyse and display metadata of images
GNU General Public License v3.0
1 stars 1 forks source link

SZP014: Enable possibility for user to set logging level using config file #22

Closed vendral closed 1 year ago

vendral commented 1 year ago

Create config.ini file which will serve a purpose of configuration interface between user and application. Create a field LOG_LEVEL= which can be set by user and read by app during startup (and apply to set logging level).

Consider using configparser lib: https://docs.python.org/3/library/configparser.html

Jarogniev commented 1 year ago

I have a question,

vendral commented 1 year ago

Config file should be a text file with extension: .ini, not .py.

Location of the file: szperacz/szperacz/config.ini (same place as logger.py)

At the moment only logging-related configuration entry shall be there, however some other fields can be added later on.

vendral commented 1 year ago

Done