Add logging API for plug-ins
Get series with b4
b4 am [email protected]...Versions newest first
- v1 Latest2 patches 6 repliesIn review
Changes from the previous patch from the cover letter
* split the changes to error.[ch] into separate patch
* add a mandatory prefix "PLUGIN <name>: " to each log line
* never log the instance prefix as it's not thread safe to do so
* fixed comment for plugin_log() in header file
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | add x_msg_va() log functionsrc/ src/ | +10 | 1 reply | |
| 2/2 | add plugin_log() API to write to openvpn loginclude/ src/ | +74 | 0 replies | |
| 2/2 | add plugin_log() API to write to openvpn loginclude/ src/ | +74 | 3 replies | |
| 2/2 | add plugin_log() API to write to openvpn loginclude/ src/ | +103 | 0 replies | |
| 2/2 | add plugin_log() API to write to openvpn loginclude/ src/ | +75 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Openvpn-devel] [PATCH 0/2] Add logging API for plug-ins
After some discussion on IRC, here's the mini patch series for adding a logging API for plug-ins.
Changes from the previous patch:
* split the changes to error.[ch] into separate patch
* add a mandatory prefix "PLUGIN <name>: " to each log line
* never log the instance prefix as it's not thread safe to do so
* fixed comment for plugin_log() in header file
Heiko Hund (2):
add x_msg_va() log function
add plugin_log() API to write to openvpn log
include/openvpn-plugin.h | 23 +++++++++++++++++++++ src/openvpn/error.c | 11 +++++++--- src/openvpn/error.h | 2 ++ src/openvpn/plugin.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 84 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.9.5