[strongSwan-dev] [PATCH 1/3] libcharon: Extend logger_t:log with an id

Thomas Egerer thomas.egerer at secunet.com
Wed Mar 27 11:23:58 CET 2013


This id can be used to identify an error with an id when logging.

Signed-off-by: Thomas Egerer <thomas.egerer at secunet.com>
---
 src/libcharon/bus/bus.c                            |    6 +++++-
 src/libcharon/bus/listeners/file_logger.c          |   18 ++++++++++++------
 src/libcharon/bus/listeners/logger.h               |    3 ++-
 src/libcharon/bus/listeners/sys_logger.c           |   18 ++++++++++++------
 src/libcharon/control/controller.c                 |    6 +++---
 src/libcharon/control/controller.h                 |    6 ++++--
 .../plugins/android_log/android_log_logger.c       |   17 +++++++++++------
 src/libcharon/plugins/smp/smp.c                    |    7 ++++++-
 src/libcharon/plugins/sql/sql_logger.c             |    3 ++-
 src/libcharon/plugins/stroke/stroke_control.c      |   10 +++++++++-
 .../processing/jobs/initiate_mediation_job.c       |    4 +++-
 11 files changed, 69 insertions(+), 29 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libcharon-Extend-logger_t-log-with-an-id.patch
Type: text/x-patch
Size: 11770 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20130327/0a127f66/attachment.bin>


More information about the Dev mailing list