search for logger in PATH
fixes bug 978907 Change-Id: I16a20982cc90f3857e20ab23e2b3f5d1aa2722a0
This commit is contained in:
parent
fc816ee029
commit
b8ce9caab2
1
Authors
1
Authors
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user