This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
     new 615fb64  ARTEMIS-2512 Move the LocalMonitor tick log
     new 03971cf  This closes #2857
615fb64 is described below

commit 615fb6400855278acc1c36380f1b351b0c1505b8
Author: brusdev <bruscin...@gmail.com>
AuthorDate: Mon Oct 7 17:49:45 2019 +0200

    ARTEMIS-2512 Move the LocalMonitor tick log
    
    The LocalMonitor tick log is very useful to establish a "heartbeat" log
    statement. It is moved into its own logger from PagingManager logger,
    which is too verbose to leave activated indefinitely in production.
---
 .../org/apache/activemq/artemis/core/paging/impl/PagingManagerImpl.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagingManagerImpl.java
 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagingManagerImpl.java
index cce039e..4218e8a 100644
--- 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagingManagerImpl.java
+++ 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagingManagerImpl.java
@@ -191,6 +191,8 @@ public final class PagingManagerImpl implements 
PagingManager {
 
    class LocalMonitor implements FileStoreMonitor.Callback {
 
+      private final Logger logger = Logger.getLogger(LocalMonitor.class);
+
       @Override
       public void tick(FileStore store, double usage) {
          logger.tracef("Tick from store:: %s, usage at %f", store, usage);

Reply via email to