org.apache.hadoop.hbase.monitoring
Class LogMonitoring

java.lang.Object
  extended by org.apache.hadoop.hbase.monitoring.LogMonitoring

public abstract class LogMonitoring
extends Object

Utility functions for reading the log4j logs that are being written by HBase.


Constructor Summary
LogMonitoring()
           
 
Method Summary
static void dumpTailOfLogs(PrintWriter out, long tailKb)
           
static Set<File> getActiveLogFiles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogMonitoring

public LogMonitoring()
Method Detail

getActiveLogFiles

public static Set<File> getActiveLogFiles()
                                   throws IOException
Throws:
IOException

dumpTailOfLogs

public static void dumpTailOfLogs(PrintWriter out,
                                  long tailKb)
                           throws IOException
Throws:
IOException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.