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.

pekeler/arangodb,kkdd/arangodb,razvanphp/arangodb,pekeler/arangodb,nvoron23/arangodb,mujiansu/arangodb,razvanphp/arangodb,abaditsegay/arangodb,mujiansu/arangodb,nvoron23/arangodb,pekeler/arangodb,kkdd/arangodb,abaditsegay/arangodb,nekulin/arangodb,kkdd/arangodb,abaditsegay/arangodb,aurelijusb/arangodb,abaditsegay/arangodb,mujiansu/arangodb,pekeler/arangodb,razvanphp/arangodb,kkdd/arangodb,nvoron23/arangodb,kkdd/arangodb,kkdd/arangodb,mujiansu/arangodb,abaditsegay/arangodb,nekulin/arangodb,pekeler/arangodb,razvanphp/arangodb,nekulin/arangodb,pekeler/arangodb,abaditsegay/arangodb,aurelijusb/arangodb,razvanphp/arangodb,pekeler/arangodb,mujiansu/arangodb,nekulin/arangodb,nekulin/arangodb,pekeler/arangodb,nekulin/arangodb,kkdd/arangodb,nvoron23/arangodb,nvoron23/arangodb,nekulin/arangodb,abaditsegay/arangodb,aurelijusb/arangodb,abaditsegay/arangodb,pekeler/arangodb,nvoron23/arangodb,nvoron23/arangodb,mujiansu/arangodb,kkdd/arangodb,nekulin/arangodb,nvoron23/arangodb,razvanphp/arangodb,razvanphp/arangodb,aurelijusb/arangodb,nekulin/arangodb,aurelijusb/arangodb,abaditsegay/arangodb,razvanphp/arangodb,razvanphp/arangodb,mujiansu/arangodb,aurelijusb/arangodb,aurelijusb/arangodb,mujiansu/arangodb,pekeler/arangodb,kkdd/arangodb,nvoron23/arangodb,nekulin/arangodb,nvoron23/arangodb,kkdd/arangodb,aurelijusb/arangodb,aurelijusb/arangodb,mujiansu/arangodb,aurelijusb/arangodb,abaditsegay/arangodb,mujiansu/arangodb,razvanphp/arangodb