[Swan-dev] peerlog() output quirks

Andrew Cagney andrew.cagney at gmail.com
Mon Sep 4 20:18:09 UTC 2017


I've come across a couple quirks in how peer logging is generated:

- for debug logging, while the output is normally:

    | <debug-message>

  with peer logging, it is instead:

    |
    <debug-message>

  This behaviour was changed in '05 by
9b5be049ddc8387495cef8b91158aaa114f17cd7

- for error messages, while the output is normally:

    ERROR: <state#N> <message>. Errno <E>: <strerror-string-for-E>

  with peer logging, it is instead (note lack of space between strerror()
the following string):

    <strerror-string-for-E><state#N> <message>

  This behaviour pre-dates history

in each case I can't think why.

Is there any reason to not change this making it more consistent?

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20170904/5475edc0/attachment.html>


More information about the Swan-dev mailing list