Remove duplicate logger initialisation

This commit is contained in:
Piotr F. Mieszkowski 2023-11-15 20:25:42 +01:00
parent 2edd842f90
commit a3eb892df9
2 changed files with 2 additions and 3 deletions

View File

@ -7,8 +7,7 @@ import lacre.config as conf
# Read configuration from /etc/gpg-mailgate.conf
conf.load_config()
lacre.init_logging(conf.get_item('logging', 'config'))
LOG = logging.getLogger('webgate-cron.py')
LOG = logging.getLogger(__name__)
def _load_file(name):

View File

@ -36,7 +36,7 @@ from lacre.notify import notify
conf.load_config()
lacre.init_logging(conf.get_item('logging', 'config'))
LOG = logging.getLogger('webgate_cron.py')
LOG = logging.getLogger('webgate-cron.py')
import GnuPG