Merge branch 'sh-fix-mattermost-log-location' into 'master'

Fix mattermost log location

Closes #2718

See merge request !1881
This commit is contained in:
Marin Jankovski 2017-08-31 12:54:24 +00:00
commit 2126c7b3ae
4 changed files with 6 additions and 3 deletions

View File

@ -8,6 +8,9 @@ omnibus-gitlab repository.
* Saves users from manually editing gitlab.rb just to set the URL and hence
makes installation process easier
9.5.2
- Fix Mattermost log location
9.5.0
- Fix the NGINX configuration for GitLab Pages with Cache-Control headers 2242884e

View File

@ -1095,7 +1095,7 @@ external_url 'GENERATED_EXTERNAL_URL'
# mattermost['sql_query_timeout'] = 30
# mattermost['log_file_directory'] = '/var/log/gitlab/mattermost'
# mattermost['log_file_directory'] = '/var/log/gitlab/mattermost/'
# mattermost['log_console_enable'] = true
# mattermost['log_console_level'] = 'INFO'
# mattermost['log_enable_file'] = false

View File

@ -677,7 +677,7 @@ default['gitlab']['mattermost']['home'] = '/var/opt/gitlab/mattermost'
default['gitlab']['mattermost']['database_name'] = 'mattermost_production'
default['gitlab']['mattermost']['env'] = {}
default['gitlab']['mattermost']['log_file_directory'] = '/var/log/gitlab/mattermost'
default['gitlab']['mattermost']['log_file_directory'] = '/var/log/gitlab/mattermost/'
default['gitlab']['mattermost']['log_console_enable'] = true
default['gitlab']['mattermost']['log_enable_webhook_debugging'] = true
default['gitlab']['mattermost']['log_console_level'] = 'INFO'

View File

@ -71,7 +71,7 @@
"EnableFile": <%= @log_enable_file %>,
"FileLevel": "<%= @log_file_level %>",
"FileFormat": "<%= @log_file_format %>",
"FileLocation": "<%= @log_file_directory %>/mattermost.log",
"FileLocation": "<%= @log_file_directory %>",
"EnableDiagnostics": <%= @log_enable_diagnostics %>
},
"FileSettings": {