org.fusesource.web.console.server
Class LoggingServiceUtil

java.lang.Object
  extended by org.fusesource.web.console.server.LoggingServiceUtil

public class LoggingServiceUtil
extends java.lang.Object


Constructor Summary
LoggingServiceUtil()
           
 
Method Summary
static LogFile[] getLogFiles()
           
static SearchResults getMatchingItems(java.lang.String logFile, java.lang.String level, int maxResults, boolean includeStacks)
          get all matching logs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingServiceUtil

public LoggingServiceUtil()
Method Detail

getMatchingItems

public static SearchResults getMatchingItems(java.lang.String logFile,
                                             java.lang.String level,
                                             int maxResults,
                                             boolean includeStacks)
get all matching logs

Parameters:
logFile - log file
level - message level ie. TRACE|DEBUG|INFO|WARN|ERROR|FATAL
maxResults - maximum log message to retrieve
includeStacks - include stacktrace flag
Returns:
SearchResult

getLogFiles

public static LogFile[] getLogFiles()


Copyright © 2009 FuseSource. All Rights Reserved.