search for logger in PATH

fixes bug 978907

Change-Id: I16a20982cc90f3857e20ab23e2b3f5d1aa2722a0
This commit is contained in:
J. Daniel Schmidt 2012-04-11 15:19:55 +02:00
parent fc816ee029
commit b8ce9caab2
2 changed files with 2 additions and 1 deletions

@ -20,6 +20,7 @@ Ewan Mellor <ewan.mellor@citrix.com>
Gabriel Hurley <gabriel@strikeawe.com>
Hengqing Hu <hudayou@hotmail.com>
Isaku Yamahata <yamahata@valinux.co.jp>
J. Daniel Schmidt <jdsn@suse.de>
Jason Koelker <jason@koelker.net>
Jay Pipes <jaypipes@gmail.com>
James E. Blair <jeblair@hp.com>

@ -133,7 +133,7 @@ def do_start(verb, server, conf, args):
pass
def redirect_to_syslog(fds, server):
log_cmd = '/usr/bin/logger -t "%s[%d]"' % (server, os.getpid())
log_cmd = 'logger -t "%s[%d]"' % (server, os.getpid())
process = subprocess.Popen(log_cmd,
shell=True,
stdin=subprocess.PIPE)