[trivial] add debug and verbose to config.yaml

This commit is contained in:
Edward Hope-Morley 2015-04-13 13:29:18 +01:00
commit 7d29703802
6 changed files with 18 additions and 5 deletions

View File

@ -1,4 +1,12 @@
options:
debug:
default: False
type: boolean
description: "Enable debug logging"
verbose:
default: False
type: boolean
description: "Enable verbose logging"
openstack-origin:
default: distro
type: string

View File

@ -104,7 +104,8 @@ BASE_RESOURCE_MAP = {
context.ZeroMQContext(),
context.NotificationDriverContext(),
MetadataServiceContext(),
HostIPContext()],
HostIPContext(),
context.LogLevelContext()],
},
}

View File

@ -7,6 +7,8 @@
{% endif -%}
###############################################################################
[DEFAULT]
verbose={{ verbose }}
debug={{ debug }}
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
@ -21,7 +23,6 @@ libvirt_disk_prefix=vd
libvirt_use_virtio_for_bridges=True
{% endif -%}
verbose=True
use_syslog = {{ use_syslog }}
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini

View File

@ -7,6 +7,8 @@
{% endif -%}
###############################################################################
[DEFAULT]
verbose={{ verbose }}
debug={{ debug }}
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
@ -21,7 +23,6 @@ libvirt_disk_prefix=vd
libvirt_use_virtio_for_bridges=True
{% endif -%}
verbose=True
use_syslog = {{ use_syslog }}
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini

View File

@ -7,6 +7,8 @@
{% endif -%}
###############################################################################
[DEFAULT]
verbose={{ verbose }}
debug={{ debug }}
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
@ -21,7 +23,6 @@ libvirt_disk_prefix=vd
libvirt_use_virtio_for_bridges=True
{% endif -%}
verbose=True
use_syslog = {{ use_syslog }}
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini

View File

@ -7,12 +7,13 @@
{% endif -%}
###############################################################################
[DEFAULT]
verbose={{ verbose }}
debug={{ debug }}
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
force_dhcp_release=True
verbose=True
use_syslog = {{ use_syslog }}
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini