Messages in this thread | | | From | Kay Sievers <> | Date | Thu, 5 Apr 2012 10:44:29 +0200 | Subject | Re: [PATCH] printk: support structured and multi-facility log messages |
| |
On Thu, Apr 5, 2012 at 10:38, Joe Perches <joe@perches.com> wrote: > On Wed, 2012-04-04 at 21:59 +0200, Kay Sievers wrote: >> From: Kay Sievers <kay@vrfy.org> >> + * In a flat text stream of records, every record should be terminated >> + * by "\n\n", which separates the records from each other. > > What do you do about "\n\n" in existing printks? > > $ grep -rP --include=*.[ch] '\bprintk\b.*\\n\\n' *
Messages with non-printable characters are exported to the syslog() syscall or /proc/kmsg as they are, like it always was, but the export to /dev/kmsg encodes the MESSAGE= property as a binary property then.
Kay
| |