Closed eworm-de closed 5 years ago
Shouldn't it flood only if in debug mode? What about decrease verbosity of your logs?
Looking at the code... yes, it should.
Wondering why my client thinks it is in debug mode then. Added debug 0
to my config, will report the results later.
Sure, let me know.
Does not help... I tried with debug 0
in config file and --debug 0
on command line. Logs are still flooded.
The code calls logmsg(LOG_DEBUG, ...)
, which is log_to_stderr(LOG_DEBUG, ...)
. This just discards LOG_DEBUG
... Or did I get that wrong?
The log spam persists with NetworkManager.conf containing [logging] level=OFF
I also tried levels INFO and WARN. The level settind /did/ change the log of NetworkManager, (very significant with level=OFF), still the vpnc messages get spammend as Mai 13 10:57:00 hase-work NetworkManager[pid]: vpnc: Accepting expected ESP packet with seq 65
Starting with 9cb925c670f170025a32128ad4aa09ece2b59d93 vpnc is flooding the log with:
I think expected packages do not need to be logged, no? Can we please stop flooding?