From 5ae168752c759ba4f3bf0f25f150a8ba30af8397 Mon Sep 17 00:00:00 2001 From: "jaypipes@gmail.com" <> Date: Tue, 19 Apr 2011 15:07:07 -0400 Subject: [PATCH] Add log_file to example glance.conf --- etc/glance.conf.sample | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/etc/glance.conf.sample b/etc/glance.conf.sample index 849bc0c447..d22634cb28 100644 --- a/etc/glance.conf.sample +++ b/etc/glance.conf.sample @@ -25,11 +25,15 @@ registry_host = 0.0.0.0 # Port the registry server is listening on registry_port = 9191 +# Log to this file. Make sure you do not set the same log +# file for both the API and registry servers! +log_file = /var/log/glance/api.log + # ============ Filesystem Store Options ======================== # Directory that the Filesystem backend store # writes image data to -filesystem_store_datadir=/var/lib/glance/images/ +filesystem_store_datadir = /var/lib/glance/images/ # ============ Swift Store Options ============================= @@ -59,6 +63,10 @@ bind_host = 0.0.0.0 # Port the bind the registry server to bind_port = 9191 +# Log to this file. Make sure you do not set the same log +# file for both the API and registry servers! +log_file = /var/log/glance/registry.log + # SQLAlchemy connection string for the reference implementation # registry server. Any valid SQLAlchemy connection string is fine. # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine