org.apache.geronimo.management.geronimo
Interface WebAccessLog

All Superinterfaces:
Log
All Known Subinterfaces:
JettyLogManager, TomcatLogManager
All Known Implementing Classes:
JettyLogManagerImpl, TomcatLogManagerImpl

public interface WebAccessLog
extends Log

A web container access log manager.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.geronimo.management.geronimo.Log
Log.LogMessage, Log.SearchResults
 
Field Summary
 
Fields inherited from interface org.apache.geronimo.management.geronimo.Log
MAX_SEARCH_RESULTS
 
Method Summary
 String[] getLogFileNames(String log)
          Gets the name of all log files used by this log.
 String[] getLogNames()
          Gets the name of all logs used by this system.
 Log.SearchResults getMatchingItems(String logName, String host, String user, String method, String uri, Date startDate, Date endDate, Integer skipResults, Integer maxResults)
          Searches the log for records matching the specified parameters.
 

Method Detail

getLogNames

String[] getLogNames()
Gets the name of all logs used by this system. Typically there is only one, but specialized cases may use more.

Returns:
An array of all log names

getLogFileNames

String[] getLogFileNames(String log)
Gets the name of all log files used by this log. Typically there is only one, but specialized cases may use more.

Parameters:
log - The name of the log for which to return the specific file names.
Returns:
An array of all log file names

getMatchingItems

Log.SearchResults getMatchingItems(String logName,
                                   String host,
                                   String user,
                                   String method,
                                   String uri,
                                   Date startDate,
                                   Date endDate,
                                   Integer skipResults,
                                   Integer maxResults)
Searches the log for records matching the specified parameters. The maximum results returned will be the lesser of 1000 and the provided maxResults argument.

See Also:
Log.MAX_SEARCH_RESULTS


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.