Fix windows logging function: vsnprintf doesn't return the required buffer size if the buffer was to small, but rather -1. If errno is set, its a fail, else we will retry with double buffer size.
Fix windows logging function:
vsnprintf doesn't return the required buffer size if the buffer was to small, but rather -1. If errno is set, its a fail, else we will retry with double buffer size.

joerg84/arangodb,arangodb/arangodb,baslr/ArangoDB,baslr/ArangoDB,joerg84/arangodb,baslr/ArangoDB,m0ppers/arangodb,jsteemann/arangodb,thurt/arangodb,fceller/arangodb,fceller/arangodb,joerg84/arangodb,kangkot/arangodb,kangkot/arangodb,graetzer/arangodb,jsteemann/arangodb,thurt/arangodb,joerg84/arangodb,m0ppers/arangodb,CoDEmanX/ArangoDB,joerg84/arangodb,joerg84/arangodb,joerg84/arangodb,arangodb/arangodb,baslr/ArangoDB,kangkot/arangodb,thurt/arangodb,hkernbach/arangodb,jsteemann/arangodb,baslr/ArangoDB,kangkot/arangodb,jsteemann/arangodb,fceller/arangodb,arangodb/arangodb,Simran-B/arangodb,hkernbach/arangodb,fceller/arangodb,m0ppers/arangodb,hkernbach/arangodb,Simran-B/arangodb,hkernbach/arangodb,hkernbach/arangodb,m0ppers/arangodb,baslr/ArangoDB,CoDEmanX/ArangoDB,graetzer/arangodb,wiltonlazary/arangodb,thurt/arangodb,CoDEmanX/ArangoDB,thurt/arangodb,graetzer/arangodb,hkernbach/arangodb,hkernbach/arangodb,graetzer/arangodb,hkernbach/arangodb,CoDEmanX/ArangoDB,baslr/ArangoDB,arangodb/arangodb,hkernbach/arangodb,kangkot/arangodb,Simran-B/arangodb,arangodb/arangodb,arangodb/arangodb,graetzer/arangodb,joerg84/arangodb,CoDEmanX/ArangoDB,joerg84/arangodb,CoDEmanX/ArangoDB,kangkot/arangodb,m0ppers/arangodb,baslr/ArangoDB,baslr/ArangoDB,CoDEmanX/ArangoDB,kangkot/arangodb,Simran-B/arangodb,thurt/arangodb,graetzer/arangodb,m0ppers/arangodb,baslr/ArangoDB,wiltonlazary/arangodb,hkernbach/arangodb,graetzer/arangodb,joerg84/arangodb,m0ppers/arangodb,Simran-B/arangodb,jsteemann/arangodb,fceller/arangodb,graetzer/arangodb,arangodb/arangodb,joerg84/arangodb,hkernbach/arangodb,m0ppers/arangodb,jsteemann/arangodb,baslr/ArangoDB,wiltonlazary/arangodb,fceller/arangodb,graetzer/arangodb,thurt/arangodb,hkernbach/arangodb,fceller/arangodb,CoDEmanX/ArangoDB,wiltonlazary/arangodb,CoDEmanX/ArangoDB,thurt/arangodb,thurt/arangodb,graetzer/arangodb,Simran-B/arangodb,m0ppers/arangodb,graetzer/arangodb,hkernbach/arangodb,fceller/arangodb,Simran-B/arangodb,baslr/ArangoDB,hkernbach/arangodb,fceller/arangodb,jsteemann/arangodb,graetzer/arangodb,m0ppers/arangodb,graetzer/arangodb,kangkot/arangodb,joerg84/arangodb,joerg84/arangodb,CoDEmanX/ArangoDB,jsteemann/arangodb,Simran-B/arangodb,m0ppers/arangodb,Simran-B/arangodb,wiltonlazary/arangodb,kangkot/arangodb,joerg84/arangodb,m0ppers/arangodb,jsteemann/arangodb,jsteemann/arangodb,fceller/arangodb,baslr/ArangoDB,kangkot/arangodb,wiltonlazary/arangodb,wiltonlazary/arangodb,m0ppers/arangodb,arangodb/arangodb,baslr/ArangoDB,Simran-B/arangodb,thurt/arangodb,graetzer/arangodb,wiltonlazary/arangodb