put logfile setting up prior to other error output
[platform/upstream/mic.git] / mic / creator.py
index b21ebda..dde1013 100644 (file)
@@ -183,6 +183,7 @@ class Creator(cmdln.Cmdln):
                 raise errors.Usage("logfile's path %s should be file"
                                    % self.options.logfile)
             configmgr.create['logfile'] = logfile_abs_path
+            configmgr.set_logfile()
 
         if self.options.config:
             configmgr.reset()