request log function added