[Swan-dev] prefixing debug lines with connection/state?

Andrew Cagney andrew.cagney at gmail.com
Wed Oct 18 15:48:11 UTC 2017


And as a follow-up, should we just always include the state's state in the
prefix; and as dogma, always log something when something is sent out (I've
found IKEv1 code that doesn't).

On 18 October 2017 at 11:35, Andrew Cagney <andrew.cagney at gmail.com> wrote:

> Hi,
>
> I'm wondering if debug output should be prefixed with the connection/state
> information as in:
>
> | "westnet-eastnet" #1: .....
>
> for our our tests it doesn't matter, but in the field when there are lots
> of connections, being able to grep for this string makes things easier
>
> Andrew
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20171018/18515c73/attachment.html>


More information about the Swan-dev mailing list