[Openswan Users] How to compile openswan with NO_DEBUG option

Paul Wouters paul at xelerance.com
Mon Jun 21 12:13:23 EDT 2010


On Mon, 21 Jun 2010, Hossein Nikoonia wrote:

> How can I compile openswan with NO_DEBUG option so that it wont
> produce any debug-ing information in auth.log even when plutodebug is
> set in ipsec.conf file?

The obvious answer is, don't set any debug in ipsec.conf. You are really
asking "how can i avoid debug logs when specifying debug logs".

The NO_DEBUG option was really only for old embedded systems, where RAM
was a serious issue. But we are talking about 1999 now. With today's
hardware, even embedded stuff, there is no valid reason to compile without
debug, and we have not tested it and might have even already started
removing support for it at places.

> I want, simply, shut-down any debug logs in the code.

You could hack pluto or whack to ignore any --debug-* parameters.

Paul


More information about the Users mailing list