All of lore.kernel.org
 help / color / mirror / Atom feed
* regression in logger output to syslog
@ 2015-10-09  8:25 Olaf Hering
  2015-10-12 10:44 ` Karel Zak
  0 siblings, 1 reply; 8+ messages in thread
From: Olaf Hering @ 2015-10-09  8:25 UTC (permalink / raw)
  To: util-linux

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-29 15:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-09  8:25 regression in logger output to syslog Olaf Hering
2015-10-12 10:44 ` Karel Zak
2015-10-12 13:34   ` Olaf Hering
2015-10-21  9:37     ` Olaf Hering
2015-10-29 10:35       ` Karel Zak
2015-10-29 14:20         ` Olaf Hering
2015-10-29 14:36           ` Lennart Poettering
2015-10-29 15:32             ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.