[Unbound-users] log-time-ascii doesn't work on Windows

Thorsten Kampe thorsten at thorstenkampe.de
Fri Jun 15 10:14:31 UTC 2012


* W.C.A. Wijngaards (Fri, 15 Jun 2012 11:05:03 +0200)
> On 06/14/2012 09:08 PM, Thorsten Kampe wrote:
> > "log-time-ascii: yes" ("print UTC timestamp in ascii to logfile,
> > default is epoch in seconds") doesn't work on Windows 7 SP1 64-bit
> > with the latest Unbound 1.4.17; meaning, no timestamp is still
> > epoch.
> > 
> > I tested a Gentoo Linux host with 1.4.16 (.17 not available yet)
> > and there it works.
> 
> Yes, because localtime_r, gmtime_r and so forth are not available on
> Windows.  It is implemented now for windows with windows-specific
> functions.
> 
> You can download a snapshot of the unbound development version, and
> try it:
> www.nlnetlabs.nl/~wouter/unbound_setup_1.4.18_20120615.exe

Works now, thanks.

Thorsten




More information about the Unbound-users mailing list