如何禁用邮件属性的日志。我需要调用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`
}
答案 0 :(得分:1)
如果您未在记录器上声明任何值,则这是默认日志。您可能希望自定义记录器上的值,以便不显示它。