[Swan-dev] peerlog() output quirks
Paul Wouters
paul at nohats.ca
Mon Sep 4 20:42:51 UTC 2017
I can't think of any valid reason for the different behaviour
Sent from my iPhone
> On Sep 4, 2017, at 16:18, Andrew Cagney <andrew.cagney at gmail.com> wrote:
>
> 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
>
>
>
> _______________________________________________
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan-dev
More information about the Swan-dev
mailing list