All Products
Document Center

Gateway SPI logs

Last Updated: Jan 28, 2021

The log description in this section is specific for the business systems which have integrated mpaasgw-spi-mpc or mpaasgw-spi-dubbo.

API summary log

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

  • Log printing time
  • operationType
  • Client productId
  • Client productVersion
  • Time span (ms)
  • Result (Y/N)
  • Result code
  • uniqueId


Time - (operationType,productId,productVersion,time span,result (Y/N),result code,uniqueId)


2017-09-12 11:15:57,700 - (,ANT_CLOUD_APP,,36ms,Y,1000,79c731d5150518615768657974443)

SPI boot log

Log path: ~/logs/mobileservice/boot.log

The boot log records the registration and startup process of the business system mobileservice. The process falls into the following stages:

  • Start-To-Register-Service: Start parsing API service interface
  • Start-To- Analyze- Method: Start parsing methods in the API service interface
  • Analyze-Method-Parameter: Parse method parameters
  • Method-Info: Method information
  • Registered-OperationType: Complete registering single API operationType
  • Register-Service-Success: Complete registering all API operationType in the interface

You can check if operationType is successfully registered by viewing this log.


  1. 2017-12-20 11:25:59,746 [Start-To-Register-Service] target:, interface: interface
  2. 2017-12-20 11:25:59,771 [Start-To-Analyze-Method] method=mock
  3. 2017-12-20 11:25:59,780 [Analyze-Method-Parameter] parameters=["s"]
  4. 2017-12-20 11:25:59,839 [Method-Info] MethodInfo[paramCount=1,paramType={class$Req},paramNames={s},returnType=class$Resp,,method=public abstract$Resp$Req),interfaceClass=interface]
  5. 2017-12-20 11:25:59,839 [Registered-OperationType]
  6. 2017-12-20 11:25:59,840 [Register-Service-Success], interface=interface

API monitor log

Log path: ~/logs/mobileservice/monitor.log

The API monitor log records API requests, including the API requests’ debug log and the exception stacks in case of errors.

SPI default log

Log path: ~/logs/mobileservice/common-default.log

The events that haven’t been assigned to any specific log will be printed in this log.

SPI error log

Log path: ~/logs/mobileservice/common-error.log

The log records errors and exception stacks.