SDC-BE and SDC-FE missing log files 71/77471/2
authorTal Gitelman <tal.gitelman@att.com>
Mon, 28 Jan 2019 17:49:33 +0000 (19:49 +0200)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Mon, 28 Jan 2019 17:59:36 +0000 (17:59 +0000)
Change-Id: Ie73b016c77d35a3f82b270752173a16a5355dcf9
Issue-ID: SDC-2077
Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb
catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_1_cleanup_jettydir.rb

index 1de2954..14cfe04 100644 (file)
@@ -22,3 +22,12 @@ directory "BE_create_catalog-be" do
   mode '0755'
   action :create
 end
+
+directory "BE_create_log_dir" do
+  path "#{ENV['JETTY_BASE']}/logs/SDC/SDC-BE"
+  owner 'jetty'
+  group 'jetty'
+  mode '0755'
+  action :create
+  recursive true
+end
\ No newline at end of file
index 7449518..7dd8bb0 100644 (file)
@@ -30,4 +30,13 @@ directory "FE_create_catalog-fe" do
   group 'jetty'
   mode '0755'
   action :create
+end
+
+directory "FE_create_log_dir" do
+  path "#{ENV['JETTY_BASE']}/logs/SDC/SDC-FE/"
+  owner 'jetty'
+  group 'jetty'
+  mode '0755'
+  action :create
+  recursive true
 end
\ No newline at end of file