[jboss-jira] [JBoss JIRA] (AS7-2213) Provide an operation to retrieve the last 10 errors from the log

James Perkins (JIRA) jira-events at lists.jboss.org
Fri Nov 9 14:41:18 EST 2012


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

James Perkins commented on AS7-2213:
------------------------------------

With an operation my initial thought was just to add a file handler that outputs to the data directory like you originally. If done via the logging subsystem then manually adding a handler to the same file would work. Each log context that gets created for whatever reason could just add the same handler which would output all log messages to the file.

It sounds like the first step then might be to write a log parser which I know Jesper has asked for separately anyway. I can start there while we work out the other details.

As far as the host controller and the process controller, maybe we just add the handler there and in domain mode we just have a more global operation. Domain does require JBoss Log Manager, so adding a dependency there isn't a huge issue I don't think.


                
> Provide an operation to retrieve the last 10 errors from the log
> ----------------------------------------------------------------
>
>                 Key: AS7-2213
>                 URL: https://issues.jboss.org/browse/AS7-2213
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Domain Management, Logging
>            Reporter: Heiko Braun
>            Assignee: James Perkins
>             Fix For: 7.2.0.Alpha1
>
>


--
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