0c26232
From 98913da774a7b5a978e010d754b77a352bd51ec9 Mon Sep 17 00:00:00 2001
0c26232
From: "J. Daniel Schmidt" <jdsn@suse.de>
0c26232
Date: Wed, 11 Apr 2012 15:19:55 +0200
0c26232
Subject: [PATCH] search for logger in PATH
0c26232
0c26232
fixes bug 978907
0c26232
0c26232
Change-Id: I16a20982cc90f3857e20ab23e2b3f5d1aa2722a0
0c26232
---
0c26232
 Authors            |    1 +
0c26232
 bin/glance-control |    2 +-
0c26232
 2 files changed, 2 insertions(+), 1 deletions(-)
0c26232
0c26232
diff --git a/Authors b/Authors
0c26232
index 96a506b..31778b9 100644
0c26232
--- a/Authors
0c26232
+++ b/Authors
0c26232
@@ -20,6 +20,7 @@ Ewan Mellor <ewan.mellor@citrix.com>
0c26232
 Gabriel Hurley <gabriel@strikeawe.com>
0c26232
 Hengqing Hu <hudayou@hotmail.com>
0c26232
 Isaku Yamahata <yamahata@valinux.co.jp>
0c26232
+J. Daniel Schmidt <jdsn@suse.de>
0c26232
 Jason Koelker <jason@koelker.net>
0c26232
 Jay Pipes <jaypipes@gmail.com>
0c26232
 James E. Blair <jeblair@hp.com>
0c26232
diff --git a/bin/glance-control b/bin/glance-control
0c26232
index fac89b2..15473ac 100755
0c26232
--- a/bin/glance-control
0c26232
+++ b/bin/glance-control
0c26232
@@ -133,7 +133,7 @@ def do_start(verb, server, conf, args):
0c26232
                     pass
0c26232
 
0c26232
     def redirect_to_syslog(fds, server):
0c26232
-        log_cmd = '/usr/bin/logger -t "%s[%d]"' % (server, os.getpid())
0c26232
+        log_cmd = 'logger -t "%s[%d]"' % (server, os.getpid())
0c26232
         process = subprocess.Popen(log_cmd,
0c26232
                                    shell=True,
0c26232
                                    stdin=subprocess.PIPE)