We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4bac7a0 + b1b99b5 commit a56ccbbCopy full SHA for a56ccbb
jgo/jgo.py
@@ -26,11 +26,6 @@
26
27
_classpath_separator = ';' if os.name == 'nt' else ':'
28
29
-LOG_FORMAT = '%(levelname)s %(asctime)s: %(message)s'
30
-logging.basicConfig(
31
- level = logging.INFO,
32
- # datefmt = '%Y-%m-%d - %H:%M:%S',
33
- format = LOG_FORMAT)
34
_logger = logging.getLogger(os.getenv('JRUN_LOGGER_NAME', 'jgo'))
35
36
def classpath_separator():
@@ -250,6 +245,12 @@ def jgo_parser():
250
245
return parser
251
246
252
247
def jgo_main(argv=sys.argv[1:], stdout=None, stderr=None):
248
+
249
+ LOG_FORMAT = '%(levelname)s %(asctime)s: %(message)s'
+ logging.basicConfig(
+ level = logging.INFO,
+ # datefmt = '%Y-%m-%d - %H:%M:%S',
253
+ format = LOG_FORMAT)
254
255
parser = jgo_parser()
256
0 commit comments