You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Georg Henzler (Jira)" <ji...@apache.org> on 2021/12/14 20:39:00 UTC

[jira] [Commented] (FELIX-6480) Make logging of HC monitor more flexible

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

Georg Henzler commented on FELIX-6480:
--------------------------------------

Fixed this in https://github.com/apache/felix-dev/commit/8ecf2064bf9f51cfea6bbabadbc0b769b1432978

https://github.com/apache/felix-dev/commit/9bdd67dbf9a3de6be2484ad381acd91e9f647e2b is logging the cache change only as debug (instead of info as introduced with FELIX-6447 )

> Make logging of HC monitor more flexible
> ----------------------------------------
>
>                 Key: FELIX-6480
>                 URL: https://issues.apache.org/jira/browse/FELIX-6480
>             Project: Felix
>          Issue Type: Improvement
>          Components: Health Checks
>    Affects Versions: healthcheck.core 2.0.10
>            Reporter: Georg Henzler
>            Assignee: Georg Henzler
>            Priority: Major
>
> https://github.com/apache/felix-dev/tree/master/healthcheck#setting-up-a-monitor-configuration allows to configure {{logResults}} - it would be good to introduce the new enum value {{STATUS_CHANGES_OR_NOT_OK}} to log status changes and all non-ok status values to make post-mortem analysis easier. 
> Having this would allow to log status changes in {{HealthCheckResultCache}} only as DEBUG (for debugging of cache) instead of INFO (compare FELIX-6447)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)