Commit 2d5ecc28 authored by Celine Noirot's avatar Celine Noirot
Browse files

debut )

parent 1cc84ff1
......@@ -29,9 +29,9 @@ jflowconf = JFlowConfigReader()
log_directory = os.path.dirname(jflowconf.get_log_file_path())
if not os.path.isdir(log_directory):
os.makedirs(log_directory, 0o751)
logging.basicConfig(level=eval(jflowconf.get_log_level(),
logging.basicConfig(level=eval(jflowconf.get_log_level()),
format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s',
datefmt='%m-%d %H:%M',
filename=jflowconf.get_log_file_path(),
filemode='a')
\ No newline at end of file
filemode='a')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment