public class LogMonitor
extends java.lang.Thread
LogMonitor tool connects to the logging NC and elaborates statistics on the
logs it receives.
The statistics are based on the type (i.e. level) of the logs and not on their content.
| Constructor and Description |
|---|
LogMonitor(java.lang.String[] args)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Terminates the application
|
static void |
main(java.lang.String[] args)
Starts the application
|
static void |
printUsage()
Print the usage message
|
void |
run()
The thread for the shutdown hook
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic LogMonitor(java.lang.String[] args)
throws LogEngineException
args - The command line paramsLogEngineException - In case of error instantiating the enginepublic void close()
public static void printUsage()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static void main(java.lang.String[] args)
args - Command line arguments