From 276aaa580bd666864bd64031e6553074fab7bf65 Mon Sep 17 00:00:00 2001 From: "Niels Erik G. Nielsen" Date: Thu, 9 May 2013 09:58:42 -0400 Subject: [PATCH] Fixes some log levels, typos. --- src/main/java/com/indexdata/mkjsf/pazpar2/Pz2Bean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 1.7.10.4