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.
This commit is contained in:
brusdev 2019-10-07 17:49:45 +02:00
parent 2f5691c3f7
commit 615fb64008
1 changed files with 2 additions and 0 deletions

View File

@ -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);