From: Ian Jackson Date: Mon, 10 Apr 2017 00:47:06 +0000 (+0100) Subject: cope with jesse's logger, which lacks --id=VALUE X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/commitdiff_plain/809bcf831f76bbb1ad8623853103c8abfe4c6194 cope with jesse's logger, which lacks --id=VALUE Signed-off-by: Ian Jackson --- diff --git a/hippotatd b/hippotatd index 123943a..cb86c2b 100755 --- a/hippotatd +++ b/hippotatd @@ -408,8 +408,7 @@ def daemonise(): pidfile_h.close() logger = subprocess.Popen(['logger','-d', - '-t','hippotat(stderr)', - '--id=%d' % mypid, + '-t','hippotat[%d](stderr)' % os.getpid(), '-p',opts.syslogfacility + '.err'], stdin=subprocess.PIPE, stdout=subprocess.DEVNULL,