[jboss-jira] [JBoss JIRA] (LOGTOOL-62) Log filtering tool

David Lloyd (JIRA) jira-events at lists.jboss.org
Wed Nov 14 15:23:21 EST 2012


    [ https://issues.jboss.org/browse/LOGTOOL-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734335#comment-12734335 ] 

David Lloyd commented on LOGTOOL-62:
------------------------------------

The format of log files is generally not a regular language, so it is impossible to deterministically parse them.  If logs are to be examined, the better solution is to intercept them while they're still in a manageable format (i.e. write a Handler).  For such queries, a database-backed Handler seems apropos.

In any case this has nothing to do with the log tooling.
                
> Log filtering tool
> ------------------
>
>                 Key: LOGTOOL-62
>                 URL: https://issues.jboss.org/browse/LOGTOOL-62
>             Project: Log Tool
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Jesper Pedersen
>            Assignee: James Perkins
>
> It would be nice to have a log filtering tool, which can help to extract / highlight log statements in huge log files.
> An idea could be to have a SQL like language in order to limit the number of lines as much as possible
> {noformat}
> SELECT * FROM server.log WHERE CATEGORY = 'org.jboss.as' AND SEVERITY IN {FATAL OR ERROR OR WARN} AND TIMESTAMP >= '12:42:00,000' AND CONTENT CONTAINS 'Something went wrong'
> {noformat}
> Having functions to select all / a defined number of lines after each hit, between timestamps, and so on would be good.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list