Commit 904b3d3a authored by Gerald Salin's avatar Gerald Salin
Browse files

#2

parent 547d1102
......@@ -73,7 +73,16 @@ class JFlowConfigReader(object):
except :
raise NoOptionError("Failed when parsing the config file, no section logging found!")
def get_log_level(self):
"""
return the level of log
@return: the level of logging (logging.DEBUG, logging.WARNING....
"""
try:
return self.reader.get('storage', 'log_level')
except :
raise Error("Failed when parsing the config file !")
def get_makeflow_path(self):
try:
exec_path = self.reader.get("global", "makeflow")
......
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