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@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to