better verbose logging on nginx error