qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6631) [Java Broker] Add option to fail the Broker if logging fails
Date Wed, 08 Jul 2015 12:52:04 GMT

    [ https://issues.apache.org/jira/browse/QPID-6631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14618531#comment-14618531
] 

ASF subversion and git services commented on QPID-6631:
-------------------------------------------------------

Commit 1689866 from orudyy@apache.org in branch 'java/trunk'
[ https://svn.apache.org/r1689866 ]

QPID-6631: [Java Broker] Add option to fail the Broker if logging fails (work by Lorenz Quack
and Alex Rudyy)

> [Java Broker] Add option to fail the Broker if logging fails
> ------------------------------------------------------------
>
>                 Key: QPID-6631
>                 URL: https://issues.apache.org/jira/browse/QPID-6631
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>
> If logging fails for whatever reason (disk full, file to large) etc, we want the option
to stop the Broker, rather than continue without logging.
> If we want to shutdown on IO error, it looks like we can do this by registering a StatusManager
with the LoggerContext. This will then hear the ErrorStatus events from the Appender (OutputStreamAppender,
line 227) in the event of IOExceptions, which we can then use to shutdown the Broker.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message