From: Niels Erik G. Nielsen Date: Thu, 9 May 2013 13:58:42 +0000 (-0400) Subject: Fixes some log levels, typos. X-Git-Tag: v0.0.7~120 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;ds=sidebyside;h=276aaa580bd666864bd64031e6553074fab7bf65;p=mkjsf-moved-to-github.git Fixes some log levels, typos. --- diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/Pz2Bean.java b/src/main/java/com/indexdata/mkjsf/pazpar2/Pz2Bean.java index ca6dc9e..6185dae 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/Pz2Bean.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/Pz2Bean.java @@ -190,7 +190,7 @@ public class Pz2Bean implements Pz2Interface, StateListener, Configurable, Seria return "0"; } } else { - logger.error("Did not attemt to run command(s) due to a validation error."); + logger.debug("Did not attempt to run command(s) that were not ready."); return "0"; } } else { @@ -213,7 +213,7 @@ public class Pz2Bean implements Pz2Interface, StateListener, Configurable, Seria public boolean commandsAreValid(String commands) { if (commands.equals("record")) { if (!pzreq.getCommand("record").hasParameterValue("id")) { - logger.error("Attempt to send record command without the id parameter"); + logger.debug("Attempt to send record command without the id parameter"); return false; } }