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

W.C.A. Wijngaards wouter at nlnetlabs.nl
Fri Jun 15 09:05:03 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Thorsten,

On 06/14/2012 09:08 PM, Thorsten Kampe wrote:
> Hi,
> 
> "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

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJP2vq/AAoJEJ9vHC1+BF+NxmEP/0jev1DNm9VvcnbKDel2lIgu
FvBquw9xMaoTqAloqAiYXWBlk+xyZhHUgDlmHcjN8EJ2SaFSMukFfYTQMqvnkfZ1
iTqh0/2ynwXkJCKPMWo9N45qLoRkAvHaq7F7gz39sb3cZj7F28xibvQV6TB2at/O
O0C53o+US15U8iLH1412dG0Qo6r8OdpUOX7xex5CBluZDeiIx3fnLgUyQmlQu/KS
7E1TKE0WKT8qBD5cgUMC+VPLJ+wDq6alBAY7oTsFhjlHw0J0nAhMJxebmcKzHOLc
gkEX5kesRIKE7AdAsq3kVc2rPSFpRZmC+u1mzoRfCdnpE8dFYidhJQ5UC89u3XU4
/s/z516uaGqVCsAx3hjN/QHm0nSK608BqlNvYdaaS+jD4faSiWC7WmRu9O2rgq+a
ZqIQpd35HFI3gEJxf5+0eQYQMDT6sb6vUsAdsRLTjU0zFAG6kj9jDKH9rX8+M0v+
pPJgFP5ZwAZp01JX8PmGnknumM4u7A8wKYfq/Cm7DFskfyLZPnePxKLC9as1rEQK
E3N+dPRTd+v0pe0gH3AOaa/TLyARBVqo3eH6z3ApXbsQf7jlIvK8jzw0MobeJpj0
uY6UAQ1cJ7JxoKS1nXTTejcn46aldSP9po3Hc+23GlDl7LjGpt4d5dDC9tBTxxsf
8tnHE+jh7+GRoGDNalBC
=7cUk
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list