Fixed issue with liquidsoap service starting as daemon, fixed logging issue in pypocli

This commit is contained in:
Duncan Sommerville 2015-01-07 14:25:24 -05:00
parent 05c2ecdb89
commit 0fef350e9d
2 changed files with 3 additions and 3 deletions

View file

@ -82,7 +82,7 @@ LIQUIDSOAP_MIN_VERSION = "1.1.1"
# configure logging
try:
logging.config.fileConfig("logging.cfg")
logging.config.fileConfig("%s/logging.cfg" % os.path.dirname(os.path.realpath(__file__)))
logger = logging.getLogger()
LogWriter.override_std_err(logger)
except Exception, e: