2017-05-23 6 views
0

메시지 속성에 대한 로그를 어떻게 비활성화합니까? 웹 서비스의 Https를 호출하고 결과를 다시 가져올 필요가 있지만 이러한 메시지는 로깅에서 다시 나타납니다. 나는이 기밀 정보를 전혀 보여줄 수 없다. 당신이 로거에 어떤 값을 선언하지 않는 경우Mule esb disable 호출 속성 로그

감사

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

이 기본 로그입니다. 로거의 값을 사용자 정의하여 표시되지 않도록 할 수 있습니다.

+0

임 내가 그렇게 할 수있는 방법을 확실하지, 당신이 나를 보여줄 수있는 샘플 예제가있다. 감사합니다 –

+0

당신은 dataweave를 통해 로그를 사용자 정의하고 페이로드로 설정하거나 일반적으로 문자열 메시지를 추가 할 수 있습니다. <로거 메시지 = "# [페이]"레벨 = "ERROR"DOC : NAME = "로거"/> – ryananthonyandal