summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-06-06 13:02:03 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-06-09 11:42:00 -0300
commite02b98fbdb868111d20b7447a15f60ca494d27dc (patch)
tree8e425c87e98fca2cec7919dcfddb0bf6b7ddb9b2 /src/leap/bitmask
parent59fb00b65c1fa2813b0751865bd7789e2fbf54f8 (diff)
Use a more significative name for logger helper.
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/app.py4
-rw-r--r--src/leap/bitmask/logs/utils.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py
index 1f20d0d4..374c91d2 100644
--- a/src/leap/bitmask/app.py
+++ b/src/leap/bitmask/app.py
@@ -51,7 +51,7 @@ from leap.bitmask import __version__ as VERSION
from leap.bitmask.config import flags
from leap.bitmask.gui import locale_rc # noqa - silence pylint
from leap.bitmask.gui.mainwindow import MainWindow
-from leap.bitmask.logs.utils import get_logger
+from leap.bitmask.logs.utils import create_logger
from leap.bitmask.platform_init.locks import we_are_the_one_and_only
from leap.bitmask.services.mail import plumber
from leap.bitmask.util import leap_argparse
@@ -143,7 +143,7 @@ def main():
# this could be more generic with a Command class.
replace_stdout = False
- logger = get_logger(opts.debug, opts.log_file, replace_stdout)
+ logger = create_logger(opts.debug, opts.log_file, replace_stdout)
# ok, we got logging in place, we can satisfy mail plumbing requests
# and show logs there. it normally will exit there if we got that path.
diff --git a/src/leap/bitmask/logs/utils.py b/src/leap/bitmask/logs/utils.py
index 06959c45..8367937a 100644
--- a/src/leap/bitmask/logs/utils.py
+++ b/src/leap/bitmask/logs/utils.py
@@ -8,7 +8,7 @@ from leap.bitmask.logs.streamtologger import StreamToLogger
from leap.bitmask.platform_init import IS_WIN
-def get_logger(debug=False, logfile=None, replace_stdout=True):
+def create_logger(debug=False, logfile=None, replace_stdout=True):
"""
Create the logger and attach the handlers.