Only log request to console when compiling with DEBUG flag