Re: Any tools to convert log messages to log events

2013-02-27 Thread Yogi Nerella
Scott, Thanks for pointing, I am now able to parse the log file and generate the events. I have couple of question for you. How do I configure log4j plugin via java code, instead of loading from an xml file? When the data matches partially with the regex, can the error message indicate upto

Re: Any tools to convert log messages to log events

2013-02-27 Thread Scott Deboy
I posted this in an earlier reply, but along with the declaration of the repositoryselector from my previous email, do this: VFSLogFilePatternReceiver receiver = new VFSLogFilePatternReceiver(); receiver.setAppendNonMatches(true); receiver.setFileURL(info.getPropertyString(fileURI));

Re: Any tools to convert log messages to log events

2013-02-27 Thread Scott Deboy
I'm sorry, there was one more chunk of code to use the repositoryExImpl: private static final Object repositorySelectorGuard = new Object(); private static final LoggerRepositoryExImpl repositoryExImpl = new LoggerRepositoryExImpl(LogManager.getLoggerRepository()); Then, somewhere prior to