Mule esb 禁用调用属性日志



如何禁用消息属性的日志。我需要调用 Web 服务的 Https 并获取结果,但这些消息在日志记录中随之返回。我根本不被允许展示这些机密信息。

谢谢

INFO  2017-05-23 15:48:06,950 [[ManulifeMay23].HTTP_Listener_Configuration.worker.01] org.mule.api.processor.LoggerMessageProcessor: 
org.mule.DefaultMuleMessage
{
  id=bdf0b820-3ff0-11e7-b37a-005056a37828
  payload=java.util.LinkedHashMap
  correlationId=bdeac4b0-3ff0-11e7-b37a-005056a37828
  correlationGroup=31
  correlationSeq=1
  encoding=UTF-8
  exceptionPayload=<not set>
ESPECIALLY this invocation parts
Message properties:
  INVOCATION scoped properties:
    bonusAmount=0
    bounsCounter=0
    counter=1
    cxf_operation=}getBonusPoint
    cxf_service={}ExternalServerService
    jsonVariable={selectFields=[programName, registrationDate, cycleToDateAdjustedBonusAmount, totalEarnedRedeemableBonusAmount], **common={accountId=4040320030000877}}**
    lastFourCC=0877
    operation=getBonusPoint
    payload1=[Ljava.lang.Object;@4ea65f0
    programName=
    registrationDate=
    rootMessage=<<<MuleMessage>>>
    totalAmount=0
  INBOUND scoped properties:
    connection=Keep-Alive
    content-type=application/json
    date=Tue, 23 May 2017 19:48:06 GMT
    http.reason=OK
    http.status=200
    transfer-encoding=chunked
    x-archived-client-ip=10.180.205.250
    x-backside-transport=OK OK,OK OK
    x-client-ip=10.180.205.250,10.188.196.7
    x-global-transaction-id=962389919
    x-response-code=200
  OUTBOUND scoped properties:
    MULE_CORRELATION_GROUP_SIZE=31
    MULE_CORRELATION_ID=bdeac4b0-3ff0-11e7-b37a-005056a37828
    MULE_CORRELATION_SEQUENCE=1
  SESSION scoped properties:`enter code here`
}

如果您没有在记录器上声明任何值,这是默认日志。您可能希望在记录器上自定义值,以便不显示该值。

最新更新