From 3a01a04cbf726959988e5fe417e2887367860f1a Mon Sep 17 00:00:00 2001
From: akwizgran <akwizgran@users.sourceforge.net>
Date: Tue, 4 Mar 2014 14:04:07 +0000
Subject: [PATCH] Log simple names of plugin classes when polling.

---
 briar-core/src/org/briarproject/plugins/PollerImpl.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/briar-core/src/org/briarproject/plugins/PollerImpl.java b/briar-core/src/org/briarproject/plugins/PollerImpl.java
index 2f7ac98e27..b81d93d35a 100644
--- a/briar-core/src/org/briarproject/plugins/PollerImpl.java
+++ b/briar-core/src/org/briarproject/plugins/PollerImpl.java
@@ -69,8 +69,10 @@ class PollerImpl implements Poller, Runnable {
 					assert removed;
 					final Collection<ContactId> connected =
 							connRegistry.getConnectedContacts(p.plugin.getId());
-					if(LOG.isLoggable(INFO))
-						LOG.info("Polling " + p.plugin.getClass().getName());
+					if(LOG.isLoggable(INFO)) {
+						String name = p.plugin.getClass().getSimpleName();
+						LOG.info("Polling " + name);
+					}
 					pluginExecutor.execute(new Runnable() {
 						public void run() {
 							p.plugin.poll(connected);
-- 
GitLab