File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 2
2
import ast
3
3
import argparse
4
4
import logging
5
- import sys
6
5
import multiprocessing
7
6
import textwrap
8
7
from time import sleep
9
8
10
9
from .. import Environment , target_factory
11
- from ..stepreporter import StepReporter
10
+ from ..logging import basicConfig , StepLogger
12
11
from ..exceptions import NoResourceFoundError
13
12
14
13
@@ -177,11 +176,7 @@ def join(self):
177
176
handler .join ()
178
177
179
178
def main ():
180
- logging .basicConfig (
181
- level = logging .INFO ,
182
- format = '%(levelname)7s %(name)-20s %(message)s' ,
183
- stream = sys .stderr ,
184
- )
179
+ basicConfig (level = logging .INFO )
185
180
186
181
parser = argparse .ArgumentParser ()
187
182
parser .add_argument (
@@ -210,7 +205,7 @@ def main():
210
205
211
206
env = Environment (config_file = args .config )
212
207
213
- StepReporter .start ()
208
+ StepLogger .start ()
214
209
215
210
manager = Manager (env , args )
216
211
if not manager .configure ():
You can’t perform that action at this time.
0 commit comments