HTTP Header 로그 off 기능 - -Duse.http.header.log=y 옵션 추가시 로깅
This commit is contained in:
@@ -21,6 +21,10 @@ import org.apache.commons.lang3.StringUtils;
|
||||
public class HttpAdapterExtraLogUtil {
|
||||
|
||||
static Logger logger = Logger.getLogger(Logger.LOGGER_DEFAULT);
|
||||
|
||||
public static boolean isHttpHeaderMode() {
|
||||
return StringUtils.equals(System.getProperty("use.http.header.log", "n"), "y");
|
||||
}
|
||||
|
||||
public static void insertHttpAdapterExtraLog(String guid, int serviceProcessNumber, String adapterGroupName, String adapterName, Map<Object, Object> headers, String url, String httpMethod){
|
||||
insertHttpAdapterExtraLog(guid, serviceProcessNumber, adapterGroupName, adapterName, headers, url, httpMethod, 0);
|
||||
|
||||
Reference in New Issue
Block a user