ParseLog { public static void main(final String[] args) throws Exception { final Properties logProperties = getPropertiesValue("parserlog.properties"); if (logProperties == null || isMissingLogFile) { logger.error("logProperties is null or LOGPATH is missing in parserlog.properties, so stop the process."); return; } startCleanUp(); final File fileLog = new File(systemLogFile); im = IntegrityMonitor.getInstance(resourceName, logProperties); startDebugLogParser(fileLog); startErrorLogParser(fileLog); startApiRestLogParser(fileLog); }  static void main(final String[] args); static int countLines(final String filename); static String pullLastLineRead(final File file, final String dataFileName); static LogEntryObject pullOutLogValues(final String line, final String type); static void process(final String line, final String type, final LogType logFile); static Date parseDate(final String dateline, final String pattern, final boolean singleSplit); static String parseRemoteSystem(final String line); static String[] getPaths(final String logPath); static Properties getPropertiesValue(final String fileName); static Connection getDbConnection();  }
@Test public void testMain() { try { ParseLog.main(new String[] {}); } catch (final Exception e) { logger.debug("exception occured while executing the test: exit"); } }