We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e81c8a commit c237619Copy full SHA for c237619
MLC/Log/log.py
@@ -31,14 +31,13 @@
31
"conf",
32
"logging.{0}.conf".format(os_platform.lower())])
33
34
-if os.path.isfile(log_file):
+if not os.path.isfile(log_file):
35
print "Platform {0} is not supported. Using default logging file.".format(os_platform)
36
log_file = os.path.join(*[os.path.dirname(os.path.realpath(__file__)),
37
"..",
38
39
40
"logging.default.conf"])
41
-print log_file
42
logger_ = None
43
logging.config.fileConfig(log_file)
44
0 commit comments