Added logging_directory and logging_level configuration options

This commit is contained in:
Anton Beloglazov 2012-09-25 14:33:42 +10:00
parent 341b0603f0
commit 3819f61e8c
2 changed files with 11 additions and 0 deletions

View File

@ -16,6 +16,15 @@
[DEFAULT]
# The directory, where log files will be created by the Neat services
logging_directory = /var/log/neat
# The amount of log messages:
# 0 -- no logging
# 1 -- errors and warnings
# 2 -- errors, warnings, and other information messages
logging_level = 2
# The host name and credentials for connecting to the MySQL database
# specified in the format supported by SQLAlchemy
sql_connection = mysql://nova:novamysqlpassword@controller/nova

View File

@ -37,6 +37,8 @@ CONFIG_PATH = os.path.join(os.path.dirname(__file__),
# These fields must present in the configuration file
REQUIRED_FIELDS = [
'logging_directory',
'logging_level',
'sql_connection',
'os_admin_tenant_name',
'os_admin_user',