org.apache.axis.handlers

Class LogHandler

public class LogHandler extends BasicHandler

A simple Handler which logs the request and response messages to either the console or a specified file (default "axis.log"). To use this, deploy it either in both the request and response flows (global, service, or transport) or in just the response flow. If deployed in both places, you'll also get an elapsed time indication, which can be handy for debugging.

Author: Doug Davis (dug@us.ibm.com) Glen Daniels (gdaniels@apache.org)

Field Summary
protected static Loglog
Method Summary
voidinit()
voidinvoke(MessageContext msgContext)
voidonFault(MessageContext msgContext)

Field Detail

log

protected static Log log

Method Detail

init

public void init()

invoke

public void invoke(MessageContext msgContext)

onFault

public void onFault(MessageContext msgContext)
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.