[Openswan Users] No date with plutostderrlog ?

Nicole Hähnel nicole.haehnel at epost.de
Fri Oct 1 11:39:06 CEST 2004


Hi,

thanks!

But which fprintf? :)
All?

I don't know the stuff very well...

Regards
Nicole


Ken Bantoft wrote:
> 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!
> 
> 



More information about the Users mailing list