[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 13:20:18 EST 2012


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

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

My first thought is it feels kind of fragile. If a user changes the the logging levels for any of the categories you're looking for you might not see anything. It also seems guessing the number of errors to go back may or may not work.

Another thing to consider is we can't rely on the log manager is JBoss Log Manager. I've done some work on AS7-5785 to allow for other log managers to be used. In order for this to work the logging extension would have to be enabled.

Note I'm not opposed to this at all, just want to put all the possible issues out there. Is it worth maybe listing all the log files in the {{jboss.server.log.dir}} and allow the user to view the files? Probably limiting the view to the last x lines, but make it configurable. With an approach like that you could add a link to the message to view the logs. Just kind of thinking out loud here though...
                
> 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