g.HEADERS = request.headers
logger.info("data:"+str(request.data))
logger.info("json:"+str(request.json))
logger.info("values:"+str(request.values))
g.args = request.args if request.method == 'GET' else request.form
logger.debug(g.HEADERS.get("Device_id",'nodeviceid')+"\t"+request.path+"\t"+str(g.args))