From acea74508587d25922ae693ed2476bcb11d7552b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 12 Jun 2008 16:00:32 +0200 Subject: [PATCH] change some log levels --- src/net/pterodactylus/jsite/core/CoreImpl.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/net/pterodactylus/jsite/core/CoreImpl.java b/src/net/pterodactylus/jsite/core/CoreImpl.java index 2296e22..3654c4f 100644 --- a/src/net/pterodactylus/jsite/core/CoreImpl.java +++ b/src/net/pterodactylus/jsite/core/CoreImpl.java @@ -463,7 +463,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public boolean addNode(Node node) throws UnknownHostException { - logger.log(Level.INFO, "addNode(node=" + node + ")"); + logger.log(Level.FINEST, "addNode(node=" + node + ")"); return nodeManager.addNode(node); } @@ -471,7 +471,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void removeNode(Node node) { - logger.log(Level.INFO, "removeNode(node=" + node + ")"); + logger.log(Level.FINEST, "removeNode(node=" + node + ")"); nodeManager.removeNode(node); } @@ -479,7 +479,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void connectToNode(Node node) { - logger.log(Level.INFO, "connectToNode(node=" + node + ")"); + logger.log(Level.FINEST, "connectToNode(node=" + node + ")"); fireNodeConnecting(node); nodeManager.connect(node); } @@ -488,7 +488,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void disconnectFromNode(Node node) { - logger.log(Level.INFO, "disconnectFromNode(node=" + node + ")"); + logger.log(Level.FINEST, "disconnectFromNode(node=" + node + ")"); nodeManager.disconnect(node); } @@ -496,7 +496,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void createProject() throws IOException, JSiteException { - logger.log(Level.INFO, "createProject()"); + logger.log(Level.FINEST, "createProject()"); Project newProject = projectManager.createProject(); fireProjectAdded(newProject); } @@ -505,7 +505,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void cloneProject(Project project) { - logger.log(Level.INFO, "cloneProject(project=" + project + ")"); + logger.log(Level.FINEST, "cloneProject(project=" + project + ")"); Project projectClone = projectManager.cloneProject(project); fireProjectCloned(project, projectClone); } @@ -514,7 +514,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void removeProject(Project project) { - logger.log(Level.INFO, "removeProject(project=" + project + ")"); + logger.log(Level.FINEST, "removeProject(project=" + project + ")"); projectManager.removeProject(project); fireProjectRemoved(project); } @@ -528,7 +528,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener { */ @SuppressWarnings("unused") private void loadConfig() { - logger.log(Level.INFO, "loadConfig()"); + logger.log(Level.FINEST, "loadConfig()"); /* TODO */ } @@ -537,7 +537,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener { */ @SuppressWarnings("unused") private void saveConfig() { - logger.log(Level.INFO, "saveConfig()"); + logger.log(Level.FINEST, "saveConfig()"); /* TODO */ } -- 2.7.4