[Swan-dev] when debugging is enabled, can pluto's whack messages be debug-logged?
andrew.cagney at gmail.com
Wed May 22 15:19:16 UTC 2019
On Wed, 22 May 2019 at 10:37, Paul Wouters <paul at nohats.ca> wrote:
> On Wed, 22 May 2019, Andrew Cagney wrote:
> > Subject: [Swan-dev] when debugging is enabled,
> > can pluto's whack messages be debug-logged?
> > It would help fill a big gap in pluto's debug logging (and probably
> > made tracking down a bizarre connection failure, due to a whack
> > status, easier)
> But they are already getting logged, aren't they? In the regular log
> output in the same file where the debug msgs go?
> I don't understand the problem nor the solution?
Things like "ipsec status" use whack_log() which only send output to whack.
Presumably this is to stop the log file filling up with "noise" when
there's a cron job pulling stats every minute (or even second) (but
when debugging is enabled we don't care).
More information about the Swan-dev