From f090ca0b618974d49e4453f6d2fb9bac476e3188 Mon Sep 17 00:00:00 2001 From: kevin Date: Sun, 31 May 2015 14:52:52 -0500 Subject: [PATCH] Set the log directory accordingly This changes the log directory within the upstart init scripts such that they are being set throughout the roles and removes an assumed variable name as the name of the log directory. Change-Id: I32a2a76a4a73b609999886427b494f380850f12a Closes-Bug: #1460469 --- templates/glance-upstart-init.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/glance-upstart-init.j2 b/templates/glance-upstart-init.j2 index 9ecb77d9..333bbd5e 100644 --- a/templates/glance-upstart-init.j2 +++ b/templates/glance-upstart-init.j2 @@ -38,4 +38,4 @@ exec start-stop-daemon --start \ --pidfile /var/run/{{ program_name }}/{{ program_name }}.pid \ --exec "{{ program_override|default('$RUNBIN') }}" \ -- {{ program_config_options|default('') }} \ - --log-file=/var/log/{{ service_name }}/{{ program_name }}.log + --log-file=/var/log/glance/{{ program_name }}.log