add log function to record the X2 message received by x2Server