Merge "Unified Apache access log format"

This commit is contained in:
Jenkins 2017-07-27 09:30:53 +00:00 committed by Gerrit Code Review
commit 06046f3943
7 changed files with 14 additions and 7 deletions

View File

@ -19,7 +19,8 @@ TraceEnable off
## Logging ## Logging
ErrorLog "/var/log/kolla/aodh/aodh_wsgi_error.log" ErrorLog "/var/log/kolla/aodh/aodh_wsgi_error.log"
ServerSignature Off ServerSignature Off
CustomLog "/var/log/kolla/aodh/aodh_wsgi_access.log" combined LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog "/var/log/kolla/aodh/aodh_wsgi_access.log" logformat
WSGIApplicationGroup %{GLOBAL} WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess aodh group=aodh processes={{ openstack_service_workers }} threads=1 user=aodh python-path={{ python_path }} WSGIDaemonProcess aodh group=aodh processes={{ openstack_service_workers }} threads=1 user=aodh python-path={{ python_path }}
WSGIProcessGroup aodh WSGIProcessGroup aodh

View File

@ -13,5 +13,6 @@ TraceEnable off
ErrorLogFormat "%{cu}t %M" ErrorLogFormat "%{cu}t %M"
</IfVersion> </IfVersion>
ErrorLog /var/log/kolla/cinder/cinder-api.log ErrorLog /var/log/kolla/cinder/cinder-api.log
CustomLog /var/log/kolla/cinder/cinder-api-access.log combined LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog /var/log/kolla/cinder/cinder-api-access.log logformat
</VirtualHost> </VirtualHost>

View File

@ -11,7 +11,8 @@ TraceEnable off
WSGIScriptAlias / {{ python_path }}/freezer_api/cmd/wsgi.py WSGIScriptAlias / {{ python_path }}/freezer_api/cmd/wsgi.py
ErrorLog {{ freezer_log_dir }}/freezer-api.log ErrorLog {{ freezer_log_dir }}/freezer-api.log
CustomLog {{ freezer_log_dir }}/freezer-api_access.log combined LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog {{ freezer_log_dir }}/freezer-api_access.log logformat
LogLevel info LogLevel info
<Directory {{ python_path }}/freezer_api> <Directory {{ python_path }}/freezer_api>

View File

@ -7,7 +7,8 @@ TraceEnable off
<VirtualHost *:{{ gnocchi_api_port }}> <VirtualHost *:{{ gnocchi_api_port }}>
ErrorLog "/var/log/kolla/gnocchi/gnocchi-api-error.log" ErrorLog "/var/log/kolla/gnocchi/gnocchi-api-error.log"
CustomLog "/var/log/kolla/gnocchi/gnocchi-api-access.log" combined LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog "/var/log/kolla/gnocchi/gnocchi-api-access.log" logformat
WSGIApplicationGroup %{GLOBAL} WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess gnocchi group=gnocchi processes={{ openstack_service_workers }} threads=1 user=gnocchi python-path={{ python_path }} WSGIDaemonProcess gnocchi group=gnocchi processes={{ openstack_service_workers }} threads=1 user=gnocchi python-path={{ python_path }}
WSGIProcessGroup gnocchi WSGIProcessGroup gnocchi

View File

@ -6,7 +6,8 @@ TraceEnable off
<VirtualHost *:{{ horizon_port }}> <VirtualHost *:{{ horizon_port }}>
LogLevel warn LogLevel warn
ErrorLog /var/log/kolla/horizon/horizon.log ErrorLog /var/log/kolla/horizon/horizon.log
CustomLog /var/log/kolla/horizon/horizon-access.log combined LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog /var/log/kolla/horizon/horizon-access.log logformat
WSGIScriptReloading On WSGIScriptReloading On
WSGIDaemonProcess horizon-http processes={{ openstack_service_workers }} threads=1 user=horizon group=horizon display-name=%{GROUP} python-path={{ python_path }} WSGIDaemonProcess horizon-http processes={{ openstack_service_workers }} threads=1 user=horizon group=horizon display-name=%{GROUP} python-path={{ python_path }}

View File

@ -6,7 +6,8 @@ TraceEnable off
<VirtualHost *:{{ panko_api_port }}> <VirtualHost *:{{ panko_api_port }}>
ErrorLog "/var/log/kolla/panko/panko-api-error.log" ErrorLog "/var/log/kolla/panko/panko-api-error.log"
CustomLog "/var/log/kolla/panko/panko-api-access.log" combined LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog "/var/log/kolla/panko/panko-api-access.log" logformat
WSGIApplicationGroup %{GLOBAL} WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess panko group=panko processes={{ openstack_service_workers }} threads=1 user=panko python-path={{ python_path }} WSGIDaemonProcess panko group=panko processes={{ openstack_service_workers }} threads=1 user=panko python-path={{ python_path }}
WSGIProcessGroup panko WSGIProcessGroup panko

View File

@ -19,7 +19,8 @@ TraceEnable off
## Logging ## Logging
ErrorLog "/var/log/kolla/zun/zun_api_wsgi_error.log" ErrorLog "/var/log/kolla/zun/zun_api_wsgi_error.log"
ServerSignature Off ServerSignature Off
CustomLog "/var/log/kolla/zun/zun_api_wsgi_access.log" combined LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog "/var/log/kolla/zun/zun_api_wsgi_access.log" logformat
WSGIApplicationGroup %{GLOBAL} WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess zun group=zun processes={{ openstack_service_workers }} threads=1 user=zun python-path={{ python_path }} WSGIDaemonProcess zun group=zun processes={{ openstack_service_workers }} threads=1 user=zun python-path={{ python_path }}
WSGIProcessGroup zun WSGIProcessGroup zun