regression in logger output to syslog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I used a script with openSUSE 11.4 which called logger like this:
# logger -t "$l[$PPID] $i" "`sed -n ${c}p < $t`"

The tag was something like "me[123] foo: blah", and the number remained
stable for a single run.

Now with systemd and util-linux-2.26.2 the number does always change. If
I understand the man page correctly this is supposed to achieve the
same, but the $PPID never made it into journalctl -f outout:

logger -t "me"  --id=$PPID "foo: blah"

Instead the pid of the logger processs is used.
How can I restore the old behaviour?

Olaf
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux