[strongSwan-dev] [PATCH 8/8] Use thread id as retrieved by gettid in log messages

Martin Willi martin at strongswan.org
Wed Dec 14 19:52:00 CET 2011


Hi,

> Changing the current human-readable thread number to the actual thread
> ID makes the logs quite a bit harder to read. 

We actually used the real thread numbers once, but it's just too hard to
read them when looking at the logs. I'd prefer if we extend the thread
startup log in processor.c by:

> "started worker thread, ID %u, pthread_id %u:"

But adding a strongswan.conf option to switch to the real IDs in every
log statement is fine for me, too.

Regards
Martin





More information about the Dev mailing list