forked from Disroot/gpg-lacre
Remove duplicate logger initialisation
This commit is contained in:
parent
2edd842f90
commit
a3eb892df9
2 changed files with 2 additions and 3 deletions
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue