From eb60ad19e55a1ff53ca884d15c81f018ad7431cc Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Thu, 10 May 2018 15:47:30 -0700 Subject: Add console logging output The log.yml is configured to place the log entries in a file to be collected by the ONAP logging project. But for containerized deployments, it's better to place then into the standard output. This commit adds the console log handler. Change-Id: If325780c1739490adeb731dfbd13e2f1b8a9e3f4 Signed-off-by: Victor Morales Issue-ID: MULTICLOUD-214 --- ocata/run.sh | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) mode change 100644 => 100755 ocata/run.sh (limited to 'ocata/run.sh') diff --git a/ocata/run.sh b/ocata/run.sh old mode 100644 new mode 100755 index c0293f67..70af4df9 --- a/ocata/run.sh +++ b/ocata/run.sh @@ -15,16 +15,4 @@ memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid export PYTHONPATH=lib/share -#nohup python manage.py runserver 0.0.0.0:9006 2>&1 & -nohup uwsgi --http :9006 --module ocata.wsgi --master --processes 4 & - -logDir="/var/log/onap/multicloud/openstack/ocata" -if [ ! -x $logDir ]; then - mkdir -p $logDir -fi -while [ ! -f $logDir/ocata.log ]; do - sleep 1 -done - -tail -F $logDir/ocata.log - +uwsgi --http :9006 --module ocata.wsgi --master --processes 4 -- cgit 1.2.3-korg