[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30727] [PATCH] gnu: inetutils: Drop "vmunix: " prefix for messages
From: |
Ludovic Courtès |
Subject: |
[bug#30727] [PATCH] gnu: inetutils: Drop "vmunix: " prefix for messages read from /dev/kmsg in syslogd. |
Date: |
Wed, 07 Mar 2018 13:40:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello!
Danny Milosavljevic <address@hidden> skribis:
> +--- o/inetutils-1.9.4/src/syslogd.c 2015-05-12 14:13:25.000000000 +0200
> ++++ inetutils-1.9.4/src/syslogd.c 2018-03-06 09:19:41.394046776 +0100
> +@@ -1108,7 +1108,7 @@
> + char *lp, *q, line[MAXLINE + 1];
> + const char *p;
> +
> +- strcpy (line, "vmunix: ");
> ++ strcpy (line, "");
I’d rather not do that. :-)
I think it’s good that syslogd distinguishes between “real” syslog
messages and messages coming from the kernel. It’s also useful if one
is to filter messages.
WDYT?
Ludo’.