All Products
Search
Document Center

Mobile Platform as a Service:Gateway server-side logs

Last Updated:Jan 29, 2026

This topic describes the different types of server-side logs.

Important

Only Private Cloud users can view server-side logs.

API summary log

Log path: ~/logs/gateway/gateway-page-digest.log

  • Log timestamp

  • Request address

  • Response

  • Result (Y/N)

  • Time consumed, in milliseconds (ms)

  • operationType

  • System name

  • appId

  • workspaceId

  • Result code

  • Client product ID

  • Client product version

  • Channel

  • User ID

  • Device ID

  • UUID

  • Client track ID

  • Client IP address

  • Network protocol: HTTP or HTTP2

  • Data protocol: JSON or PB

  • Request data size in bytes

  • Response data size in bytes

  • Stress testing flag

  • TraceId: The unique ID of the request. This ID correlates all summary, detail, and error logs.

  • Component flag

  • Client system type

  • Backend system time consumed

  • Client IP address type: 4 or 6

  • RPC protocol version: 1.0 or 2.0

Format:

Timestamp - (Request address,Response,Result (Y/N),Time consumed,operationType,System name,appId,workspaceId,Result code,Client product ID,Client product version,Channel,User ID,Device ID,UUID,Client track ID,Client IP address,Network protocol,Data protocol,Request data size,Response data size,Is stress test,TraceId,Is component API,Client system type,Backend system time consumed,IP protocol version,RPC protocol version)

Example:

2020-06-03 14:14:08,001 - (/mgw.htm,response,Y,61 ms,alipay.mcdp.space.initSpaceInfo,-,84EFA9A281942,default,1000,-,-,-,-,Wz4Zak5peDgDAGRNW5rFFGhT,Wz4Zak5peDgDAGRNW5rFFGhTN9uqCLa,Wz4Zak5peDgDAGRNW5rFFGhTN9uqCLa,223.104.XXX.XXX,HTTP,JSON,2,2406,F,0a1d76671591164847940829820658,T,ANDROID,61,4,2.0)

API detail log

Log path: ~/logs/gateway/gateway-page-detail.log

Detail logs are divided into the following categories:

  • Request log: [request]

  • Response log: [response]

Request log

  • Log timestamp

  • Client IP address

  • TraceId

  • Log level

  • Log type: request

  • operationType

  • appId

  • workspaceId

  • requestData

  • sessionId

  • did: Device ID

  • contentType

  • mmtp: T or F. Indicates whether the MMTP protocol is used.

  • async: T or F. Indicates whether the invocation is asynchronous.

Response log

  • Log timestamp

  • Client IP address

  • TraceId

  • Log level

  • Log type: response

  • operationType

  • appId

  • workspaceId

  • responseData

  • resultStatus: Result code

  • contentType

  • sessionId

  • did: Device ID

  • mmtp: T or F. Indicates whether the MMTP protocol is used.

  • async: T or F. Indicates whether the invocation is asynchronous.

Example:

2017-12-21 15:37:10,208 [100.97.90.113][79c731d51513841830208829314258] INFO  - [request]operationType=com.alipay.gateway.test,appId=2A9ADA1045,workspaceId=antcloud,requestData=***,sessionId=-,did=WjtkmWe1uHsDADl7BEleyK2L,contentType=JSON,mmtp=F,async=T

2017-12-21 15:37:10,229 [][79c731d51513841830208829314258] INFO  - [response]operationType=com.alipay.gateway.test,appId=2A9ADA1045,workspaceId=antcloud,responseData=***,resultStatus=1000,contentType=JSON,sessionId=-,did=WjtkmWe1uHsDADl7BEleyK2L,mmtp=F,async=T

API statistics log

Log path: ~/logs/gateway/gateway-page-stat-s.log

  • Log timestamp

  • operationType

  • appId

  • workspaceId

  • Result: Y/N

  • Result code

  • Stress testing flag

  • Total requests

  • Total time consumed (ms)

Format:

Timestamp - operationType,appId,workspaceId,Result (Y/N),Result code,Stress testing flag (T/F),Total requests,Total time consumed (ms)

Example:

2017-12-21 15:34:58,419 - com.alipay.gateway.test,2A9ADA1045,antcloud,Y,1000,F,1,3

Gateway thread statistics log

Log path: ~/logs/gateway/gateway-threadpool.log

  • Log timestamp

  • Thread name

  • Active threads

  • Current threads in the pool

  • Largest number of threads ever created

  • Core threads

  • Maximum threads

  • Task queue capacity

  • Remaining queue capacity

Format:

Timestamp [Thread name,ActiveCount,PoolSize,LargestPoolSize,CorePoolSize,MaximumPoolSize,QueueSize,QueueRemainingCapacity]

Example:

2017-12-21 16:33:32,617 [gateway-executor,0,80,80,80,400,0,1000]

Gateway configuration log

Log path: ~/logs/gateway/gateway-config.log

This log records changes to the gateway configuration.

Gateway default log

Log path: ~/logs/gateway/gateway-default.log

This is the default gateway log. Instrumentation points without a specified log are recorded here.

Gateway error log

Log path: ~/logs/gateway/gateway-error.log

This log records errors and exception stacks.