[Openswan Users] No date with plutostderrlog ?
Ken Bantoft
ken at xelerance.com
Fri Oct 1 04:38:10 CEST 2004
Hi Nicole,
Not unless you modify the code yourself - it's a trivial change.
By default, pluto uses syslog() functionality, which does time/date
stamping itself, so pluto doesn't need to.
programs/pluto/log.c:
openswan_log function would need to be modified to get current time/date
and add it to the fprintf.
On Thu, 30 Sep 2004, Nicole Hähnel wrote:
> Hi,
>
> I want to log all messages from ipsec to another logfile.
>
> I tried plutostderrlog=/var/log/ipsec.conf.
> Now all messages logged to this file, but there is no date or time stamp.
>
> Is there a possibility to log the messages with date and time stamp to
> another logfile?
>
> Thanks!
--
Ken Bantoft VP Business Development
ken at xelerance.com Xelerance Corporation
sip://toronto.xelerance.com http://www.xelerance.com
The future is here. It's just not evenly distributed yet.
-- William Gibson
More information about the Users
mailing list