org.apache.accumulo.server.util
public class SendLogToChainsaw extends org.apache.log4j.xml.XMLLayout
Constructor and Description |
---|
SendLogToChainsaw(String directory,
String fileNameFilter,
String host,
int port,
Date start,
Date end,
String regex,
String level) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
void |
processLogFiles() |
public void processLogFiles() throws IOException
IOException
public static void main(String[] args) throws Exception
args
- 0: path to log directory parameter 1: filter to apply for logs to include (uses wildcards (i.e. logger* and IS case sensitive) parameter 2:
chainsaw host parameter 3: chainsaw port parameter 4: start date filter parameter 5: end date filter parameter 6: optional regex filter to match
on each log4j message parameter 7: optional level filterException
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.