aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2022-11-19 12:34:03 +0000
committerMichael Morris <michael.morris@est.tech>2022-11-28 16:16:18 +0000
commitf55024beeebf3ce869d9312c985795767665a638 (patch)
treeeb21f09fedfb560bc286549fa87625024972f7be /utils
parent0ae35d1245e9a5a0f1a1a3367c1b87bcf2890212 (diff)
Fix SDC-simulator not logging to STDOUT
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Id9b707ea1c626eb11f967ec2894b1531f3b658ca Issue-ID: SDC-4271
Diffstat (limited to 'utils')
-rw-r--r--utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_5_create_jetty_modules.rb4
-rw-r--r--utils/webseal-simulator/sdc-simulator/startup.sh3
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}