]> www.infradead.org Git - users/dwmw2/vpnc-scripts.git/commit
Add logLevel and logTimestamps options to vpnc-script-win.js
authorDaniel Lenski <dlenski@gmail.com>
Sat, 22 Jan 2022 20:52:35 +0000 (12:52 -0800)
committerDaniel Lenski <dlenski@gmail.com>
Mon, 24 Jan 2022 01:33:07 +0000 (17:33 -0800)
commitc79e5a66dacdcdc950c296c87ee325b4fae78367
tree08568a21e982c8802023595d7511056da0a0ce6a
parent8bef3230f19449296a9a0990bbf7889d36721b99
Add logLevel and logTimestamps options to vpnc-script-win.js

Based on discussions about how to improve vpnc-script logging in
https://gitlab.com/openconnect/vpnc-scripts/-/issues/32#note_810779624.

See https://gitlab.com/openconnect/openconnect/-/merge_requests/328,
which makes OpenConnect send its verbosity level to the vpnc-script
as $LOG_LEVEL.

In the future, $LOG_TIMESTAMPS should probably also be passed by
OpenConnect, although this may be unnecessary since most OS's logging
systems can add timestamps on their own.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
vpnc-script
vpnc-script-win.js