Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.3)

Part Number E13941-03

weblogic.servlet.logging
Interface CustomELFLogger


public interface CustomELFLogger

This is an interface which allows customers to add custom information to the ExtendedLogFormat. They will be responsible for implementing logField(HttpAccountingInfo metrics) method. ELF allows users to specify fields to be logged with each http request. One of these #Fields is an application specific field in the form of x-SOMEFIELDNAME WLS expects a fully qualified classname as the argument for this field and attempts to instantiate an instance of this class. Customers are responsible for following formatting guidlines of the specification. For example if they use one class to return two fields then they need to delimit them via a tab See: http://www.w3.org/TR/WD-logfile-960221.html for the specification Also they should use caution as this API provides them the opportunity to do anthying they want basically and they should not do something that will inordinantly SLOW the system down. Like looking something up in the DMBS, or doing signigicant IO or Networking



Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server 10.3.3 API Reference
11g Release 1 (10.3.3)

Part Number E13941-03