From b73d853f224162bded13aff56fe8ee61c37dfea6 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Sat, 7 Sep 2019 16:32:54 +0200
Subject: [PATCH] Allow the setting of an extra log ligier

---
 setenv_template.sh | 2 +-
 supervisord.conf   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/setenv_template.sh b/setenv_template.sh
index 1781af1..d827756 100644
--- a/setenv_template.sh
+++ b/setenv_template.sh
@@ -19,7 +19,7 @@ export DETECTOR_MANAGER_IP=192.168.0.120
 
 # The port for the KM3Web monitoring dashboard
 export WEBSERVER_PORT=8081
-# The port for the log viewer
+# The port for the log viewer webserver
 export LOGGING_PORT=8082
 
 # The detector configuration to be used in the online reconstruction
diff --git a/supervisord.conf b/supervisord.conf
index 151fa42..d02ac2b 100644
--- a/supervisord.conf
+++ b/supervisord.conf
@@ -146,7 +146,7 @@ stderr_logfile=logs/%(program_name)s.err.log
 ;stderr_logfile=logs/%(program_name)s.err.log
 
 [program:msg_dumper]
-command=python -u scripts/msg_dumper.py -l 127.0.0.1 -p %(ENV_MONITORING_LIGIER_PORT)s -f logs/MSG.log
+command=python -u scripts/msg_dumper.py -l %(ENV_LOG_LIGIER_IP) -p %(ENV_LOG_LIGIER_PORT)s -f logs/MSG.log
 priority=200
 stdout_logfile=logs/%(program_name)s.out.log
 stderr_logfile=logs/%(program_name)s.err.log
-- 
GitLab