diff options
author | Tal Gitelman <tal.gitelman@att.com> | 2019-01-28 19:49:33 +0200 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2019-01-28 17:59:36 +0000 |
commit | c0693cd275a0d35ab7acefd2ea2a936179041f41 (patch) | |
tree | a4b3131eea9e9827ad2c226a8eef85c1fec66b36 /catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes | |
parent | afd5f9573dfd0c89758ea3f0c0b02a838888ef90 (diff) |
SDC-BE and SDC-FE missing log files
Change-Id: Ie73b016c77d35a3f82b270752173a16a5355dcf9
Issue-ID: SDC-2077
Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
Diffstat (limited to 'catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes')
-rw-r--r-- | catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb index 1de29548f3..14cfe04213 100644 --- a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb +++ b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb @@ -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 |