ex: Enabling debug logs for APIM 3.0.0
loggers = ..., HTTP_CONTENT, HTTP_HEADER logger.HTTP_CONTENT.name = httpclient.wire.content logger.HTTP_CONTENT.level = DEBUG logger.HTTP_HEADER.name = httpclient.wire.header logger.HTTP_HEADER.level = DEBUG
[2019-12-13 14:48:59,983] DEBUG - header >> "POST /services/AuthenticationAdmin HTTP/1.1[\r][\n]" [2019-12-13 14:48:59,984] DEBUG - header >> "SOAPAction: urn:login[\r][\n]" [2019-12-13 14:48:59,985] DEBUG - header >> "Content-Type: application/soap+xml[\r][\n]" [2019-12-13 14:48:59,985] DEBUG - header >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]" [2019-12-13 14:48:59,986] DEBUG - header >> "Host: localhost:9443[\r][\n]" [2019-12-13 14:48:59,986] DEBUG - header >> "Content-Length: 324[\r][\n]" [2019-12-13 14:48:59,986] DEBUG - header >> "[\r][\n]" [2019-12-13 14:48:59,987] DEBUG - content >> "<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:aut="http://authentication.services.core.carbon.wso2.org"><soap:Header/><soap:Body><aut:login><aut:username>admin</aut:username><aut:password>admin</aut:password><aut:remoteAddress>localhost</aut:remoteAddress></aut:login></soap:Body></soap:Envelope>" [2019-12-13 14:49:00,035] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2019-12-13 14:49:00,035+0530] [2019-12-13 14:49:00,037] DEBUG - header << "HTTP/1.1 200 [\r][\n]" [2019-12-13 14:49:00,037] DEBUG - header << "HTTP/1.1 200 [\r][\n]" [2019-12-13 14:49:00,037] DEBUG - header << "X-Content-Type-Options: nosniff[\r][\n]" [2019-12-13 14:49:00,038] DEBUG - header << "X-XSS-Protection: 1; mode=block[\r][\n]" [2019-12-13 14:49:00,038] DEBUG - header << "X-Frame-Options: DENY[\r][\n]" [2019-12-13 14:49:00,038] DEBUG - header << "Set-Cookie: JSESSIONID=F0BC9A03E4633CAB4379DEBF8D4CC222; Path=/; Secure; HttpOnly[\r][\n]" [2019-12-13 14:49:00,039] DEBUG - header << "Content-Type: application/soap+xml; action="urn:loginResponse";charset=UTF-8[\r][\n]" [2019-12-13 14:49:00,039] DEBUG - header << "Transfer-Encoding: chunked[\r][\n]" [2019-12-13 14:49:00,039] DEBUG - header << "Date: Fri, 13 Dec 2019 09:19:00 GMT[\r][\n]" [2019-12-13 14:49:00,039] DEBUG - header << "Server: WSO2 Carbon Server[\r][\n]" [2019-12-13 14:49:00,040] DEBUG - header << "[\r][\n]" [2019-12-13 14:49:00,040] DEBUG - content << "1" [2019-12-13 14:49:00,040] DEBUG - content << "1" [2019-12-13 14:49:00,041] DEBUG - content << "f" [2019-12-13 14:49:00,041] DEBUG - content << "[\r]" [2019-12-13 14:49:00,041] DEBUG - content << "[\n]" [2019-12-13 14:49:00,041] DEBUG - content << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><ns:loginResponse xmlns:ns="http://authentication.services.core.carbon.wso2.org"><ns:return>true</ns:return></ns:loginResponse></soapenv:Body></soapenv:Envelope>" [2019-12-13 14:49:00,042] DEBUG - content << "[\r]" [2019-12-13 14:49:00,042] DEBUG - content << "[\n]" [2019-12-13 14:49:00,042] DEBUG - content << "0" [2019-12-13 14:49:00,042] DEBUG - content << "[\r]" [2019-12-13 14:49:00,043] DEBUG - content << "[\n]" [2019-12-13 14:49:00,043] DEBUG - content << "[\r]" [2019-12-13 14:49:00,043] DEBUG - content << "[\n]" [2019-12-13 14:49:00,043] DEBUG - header << "[\r][\n]"
Add Comment
Comments (0)