Use systemd-journald instead of log files
This patch aims to migrate service from usage of regular syslog files to journald. We also disable uwsgi logging, since it dublicates requests that are logged by service itself. Change-Id: I4168cd484ef52cc7b47efdbcc26d3d3550d28654
This commit is contained in:
parent
9213d4d539
commit
9d8a95d03a
@ -67,6 +67,7 @@ masakari_pip_packages:
|
||||
- python-keystoneclient
|
||||
- python-memcached
|
||||
- python-swiftclient
|
||||
- systemd-python
|
||||
- uwsgi
|
||||
- keystoneauth1
|
||||
|
||||
@ -117,7 +118,6 @@ masakari_enable_v1_api: True
|
||||
|
||||
masakari_etc_dir: /etc/masakari
|
||||
masakari_monitor_etc_dir: /etc/masakarimonitors
|
||||
masakari_log_dir: /var/log/masakari
|
||||
masakari_config_options: --config-file {{ masakari_etc_dir }}/masakari.conf
|
||||
|
||||
## Services
|
||||
|
@ -50,8 +50,6 @@
|
||||
- path: "{{ masakari_monitor_etc_dir }}"
|
||||
mode: "0750"
|
||||
condition: "{{ inventory_hostname in groups['masakari_monitor'] }}"
|
||||
- path: "{{ masakari_log_dir }}"
|
||||
mode: "0755"
|
||||
- path: "{{ masakari_system_user_home }}"
|
||||
- path: "{{ masakari_system_user_home }}/cache/api"
|
||||
mode: "0700"
|
||||
|
@ -6,7 +6,7 @@ masakari_api_listen = 0.0.0.0
|
||||
# Enable to specify port other than default
|
||||
masakari_api_listen_port = 15868
|
||||
debug = False
|
||||
log_dir = {{ masakari_log_dir }}
|
||||
use_journal = true
|
||||
auth_strategy = keystone
|
||||
notification_driver = taskflow_driver
|
||||
# Nova endpoint
|
||||
|
Loading…
x
Reference in New Issue
Block a user