From f55024beeebf3ce869d9312c985795767665a638 Mon Sep 17 00:00:00 2001 From: vasraz Date: Sat, 19 Nov 2022 12:34:03 +0000 Subject: Fix SDC-simulator not logging to STDOUT Signed-off-by: Vasyl Razinkov Change-Id: Id9b707ea1c626eb11f967ec2894b1531f3b658ca Issue-ID: SDC-4271 --- .../sdc-simulator/recipes/SDC_Simulator_5_create_jetty_modules.rb | 4 ++-- utils/webseal-simulator/sdc-simulator/startup.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_5_create_jetty_modules.rb b/utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_5_create_jetty_modules.rb index 1e1ff795aa..ab6c5aabdb 100644 --- a/utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_5_create_jetty_modules.rb +++ b/utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_5_create_jetty_modules.rb @@ -7,7 +7,7 @@ else end execute "create-jetty-modules" do - command "java -jar #{ENV['JETTY_HOME']}/start.jar --add-to-start=deploy && java -jar #{ENV['JETTY_HOME']}/start.jar --create-startd --add-to-start=http,https,console-capture,setuid,rewrite" + command "java -jar #{ENV['JETTY_HOME']}/start.jar --add-to-start=deploy && java -jar #{ENV['JETTY_HOME']}/start.jar --create-startd --add-to-start=http,https,setuid,rewrite" cwd "#{ENV['JETTY_BASE']}" action :run end @@ -62,4 +62,4 @@ end execute "echo status" do command "echo 'DOCKER STARTED'" action :run -end \ No newline at end of file +end diff --git a/utils/webseal-simulator/sdc-simulator/startup.sh b/utils/webseal-simulator/sdc-simulator/startup.sh index 3526693e9d..ce077b3804 100644 --- a/utils/webseal-simulator/sdc-simulator/startup.sh +++ b/utils/webseal-simulator/sdc-simulator/startup.sh @@ -6,8 +6,7 @@ JAVA_OPTIONS=" $JAVA_OPTIONS \ -Dlog.home=$JETTY_BASE/logs \ -Dlogback.configurationFile=$JETTY_BASE/config/sdc-simulator/logback.xml \ -Djavax.net.ssl.trustStore=$JETTY_BASE/etc/org.onap.sdc.trust.jks \ - -Djavax.net.ssl.trustStorePassword=z+KEj;t+,KN^iimSiS89e#p0 \ - -Djetty.console-capture.dir=$JETTY_BASE/logs" + -Djavax.net.ssl.trustStorePassword=z+KEj;t+,KN^iimSiS89e#p0" cd $JETTY_BASE/chef-solo chef-solo -c solo.rb -E ${ENVNAME} -- cgit 1.2.3-korg