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.
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.