Adjust apache site barbican configuration
Make logs more readable, fix missing data for admin api
Change-Id: I5227ab576c66ef6dfe6c7ac956a1d14744c10f40
diff --git a/apache/server/site/barbican.yml b/apache/server/site/barbican.yml
index 78c9f02..55f5cf5 100644
--- a/apache/server/site/barbican.yml
+++ b/apache/server/site/barbican.yml
@@ -30,11 +30,11 @@
port: 9311
log:
custom:
- format: >-
- %v:%p %{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %D %O \"%{Referer}i\" \"%{User-Agent}i\"
+ format: 'combined'
+ file: '/var/log/barbican/barbican-api.log'
error:
enabled: true
- format: '%M'
+ file: '/var/log/barbican/barbican-api.log'
barbican_admin:
enabled: false
available: true
@@ -48,3 +48,14 @@
user: barbican
group: barbican
display_name: '%{GROUP}'
+ host:
+ address: ${_param:apache_barbican_api_address}
+ name: ${_param:apache_barbican_api_host}
+ port: 9312
+ log:
+ custom:
+ format: 'combined'
+ file: '/var/log/barbican/barbican-api.log'
+ error:
+ enabled: true
+ file: '/var/log/barbican/barbican-api.log'