Create and configure Extended Logger for Weblogic

Create an extended logger by compiling the code below and creating a jar ( el.jar in this example) import weblogic.servlet.logging.CustomELFLogger;import weblogic.servlet.logging.FormatStringBuffer;import weblogic.servlet.logging.HttpAccountingInfo;import java.util.Enumeration;import java.util.HashMap;import java.util.Map; public class PaypalCustomField implements CustomELFLogger {public void logField(HttpAccountingInfo metrics,FormatStringBuffer buff) { buff.appendValueOrDash(metrics.getHeader(“Cookie”)); Map<String, String> map = new HashMap<String, String>(); StringBuffer sbuf = new StringBuffer(); Enumeration

Continue reading »