Skip to content

Commit 11914aa

Browse files
author
Vladimir Kotal
committed
avoid message multiplication
1 parent b334b9f commit 11914aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opengrok-tools/src/main/python/opengrok_tools/utils/commandsequence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
from .command import Command
2626
from .webutil import put, post, delete
2727
from .utils import is_web_uri
28-
from .log import get_console_logger
2928
import json
3029

3130

@@ -70,7 +69,8 @@ def __init__(self, base):
7069
super().__init__(base.name, base.commands, loglevel=base.loglevel,
7170
cleanup=base.cleanup)
7271

73-
self.logger = get_console_logger(__name__, base.loglevel)
72+
self.logger = logging.getLogger(__name__)
73+
self.logger.setLevel(base.loglevel)
7474

7575
def run_command(self, command):
7676
"""

0 commit comments

Comments
 (0)