From ab6d8edbe6215f67a33f1fbe7207b9ee0ab4b044 Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Thu, 17 Nov 2022 14:55:16 -0800 Subject: Fix SDC-BE not logging to STDOUT Signed-off-by: MichaelMorris Issue-ID: SDC-3534 Change-Id: Ia3e20b7f43ece61cf28038d59af51264db2b7dec --- .../sdc-catalog-be/files/default/logback.xml | 28 +++++++++++++++++++++- .../sdc-catalog-be/recipes/BE_4_jetty_Modules.rb | 2 +- 2 files changed, 28 insertions(+), 2 deletions(-) (limited to 'catalog-be/src/main/docker/backend/chef-repo') diff --git a/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/files/default/logback.xml b/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/files/default/logback.xml index dc51c16f87..20a00ad528 100644 --- a/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/files/default/logback.xml +++ b/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/files/default/logback.xml @@ -27,7 +27,6 @@ - @@ -95,6 +94,20 @@ + + + + return level <= INFO; + + DENY + ACCEPT + + + + ${debug-log-pattern} + + + @@ -121,6 +134,17 @@ + + + WARN + + + + ${error-log-pattern} + + + + @@ -240,6 +264,8 @@ + + diff --git a/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_4_jetty_Modules.rb b/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_4_jetty_Modules.rb index 772e0d40c0..9e57212176 100644 --- a/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_4_jetty_Modules.rb +++ b/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_4_jetty_Modules.rb @@ -6,7 +6,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" + 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" cwd "#{ENV['JETTY_BASE']}" action :run end -- cgit 1.2.3-korg