| com.nabhinc.ws.server.ServerObjectImpl com.nabhinc.ws.interceptor.logging.FileLogger
FileLogger | public class FileLogger extends ServerObjectImpl implements Interceptor(Code) | | Logs web service method invocation details to a file. Files are rotated daily.
Configuration properties:
- logDirectory - Directory path with respect to Web application root. Default is
/WEB-INF/logs/ws
- extension - Log file extension. Default is "log".
- prefix - Log file name prefix. Default is "wsac".
author: Padmanabh Dabke author: (c) 2005 Nabh Information Systems, Inc. All Rights Reserved. |
log | public void log(String message, java.util.Date date)(Code) | | Log the specified message to the log file, switching files if the date
has changed since the previous log call.
Parameters: message - Message to be logged Parameters: date - the current Date object (so this method doesn't need tocreate a new one) |
setLogDirectory | public void setLogDirectory(String logDir)(Code) | | |
|
|