Skip to content
Permalink
Browse files

Fix the initLogger arguments in a call from svcBuilder

  • Loading branch information...
cvaroqui committed Jul 15, 2019
1 parent 1c783b6 commit 4977e2acadc27d3ca078b83493a0773b8302113a
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/svcBuilder.py
@@ -1716,9 +1716,9 @@ def build_services(status=None, paths=None, create_instance=False,
makedirs(log_d)
else:
log_d = rcEnv.paths.pathlog
svclog = rcLogger.initLogger(rcEnv.nodename+"."+namespace+"."+kind+"."+name,
directory=log_d,
handlers=["file", "syslog"])
log_root = ".".join([rcEnv.nodename, namespace, kind, name])
log_file = os.path.join(log_d, name+".log")
svclog = rcLogger.initLogger(log_root, log_file, handlers=["file", "syslog"])
svclog.error(str(e))
continue
except ex.excAbortAction:

0 comments on commit 4977e2a

Please sign in to comment.
You can’t perform that action at this time.