title: Is there a log parser Java library?
body: <p>I got a bunch of logs, each one with the following format:</p>
  <pre><code>10-20-2016 13:57:28 [main] ERROR com.project.Main:11 - Error message here
  </code></pre>
  <p>The template of this log is:</p>
  <pre><code>&lt;date&gt; &lt;time&gt; &lt;method&gt; &lt;log_level&gt; &lt;class&gt;:&lt;line_no&gt; - &lt;message&gt;
  </code></pre>
  <p>I want to parse that log and create a Java object with fields that match each token on that template.</p>
  <p>I know that I can do this by hand, using a String Tokenizer, but I want to know first if there is some parsing library that already solves this problem (probably much better than I would do it).</p>
  <p>I'm looking for something that supports that kind of templating: if I change the template, the parser should just extract those fields that match the template.</p>