[systemd-devel] journald: why become tabs to #011

Mantas Mikulėnas grawity at gmail.com
Mon Dec 11 11:29:55 UTC 2017


On Mon, Dec 11, 2017 at 11:58 AM, Reindl Harald <h.reindl at thelounge.net>
wrote:

>
> Am 25.11.2017 um 15:33 schrieb Reindl Harald:
>
>> thanks
>> https://bugzilla.redhat.com/show_bug.cgi?id=1517455
>>
>
> however journalctl isn't that smart either:
> Dez 11 10:57:17 srv-rhsoft.rhsoft.net php[22523]: [19B blob data]
>
> /var/log/messages:
> Dec 11 10:57:17 srv-rhsoft php[22523]: 1#0112#011#003
>
> [root at srv-rhsoft:~]$ cat /downloads/test.php
> <?php
> syslog(LOG_NOTICE, "1\t2\t\3");
> ?>


That's because you're sending a \3, i.e. 0x03 which is not printable.

Regular tabs are no longer filtered as of commit ba961854ddec8a8efcff
<https://github.com/systemd/systemd/commit/ba961854ddec8a8efcffab44540c33cc7dffebfa>
 (v187).

-- 
Mantas Mikulėnas <grawity at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20171211/aa57e705/attachment.html>


More information about the systemd-devel mailing list