*/\r
public void checkIn(Pazpar2Command command) {\r
if (getCurrentState().stateMutating(command)) {\r
- logger.debug("State changed by: " + command.getCommandName());\r
+ logger.info("State changed by: " + command.getCommandName());\r
Pazpar2State state = new Pazpar2State(getCurrentState(),command);\r
states.put(state.getKey(), state);\r
currentKey = state.getKey();\r
hasPendingStateChange(command.getCommandName(),new Boolean(true)); \r
- logger.debug("Updating " + listeners.size() + " listener(s) with state change from " + command);\r
+ logger.info("Updating " + listeners.size() + " listener(s) with state change from " + command);\r
updateListeners(command.getCommandName()); \r
} else {\r
logger.debug("Command " + command.getCommandName() + " not found to change the state [" + command.getEncodedQueryString() + "]");\r
*/\r
public void setCurrentStateKey(String key) { \r
if (currentKey.equals(key)) {\r
- logger.debug("Ignoring request from UI to set state key, already has that key [" + key + "]");\r
+ logger.info("Ignoring request from UI to set state key, already has that key [" + key + "]");\r
} else {\r
- logger.debug("Request from UI to change state key from: [" + currentKey + "] to ["+key+"]");\r
+ logger.info("Request from UI to change state key from: [" + currentKey + "] to ["+key+"]");\r
if (states.get(key)==null) {\r
logger.error("Have no state registered for the key ["+ key +"].");\r
if (key == null || key.length()==0) {\r
- logger.info("Recived an empty key, retaining currentKey [" + currentKey + "]");\r
+ logger.debug("Recived an empty key, retaining currentKey [" + currentKey + "]");\r
key = currentKey;\r
} else {\r
if (states.get(currentKey) != null) {\r
if (key.equals("#1")) {\r
- logger.info("Initial key created [" + key + "], but already got a state registered for the current key [" + currentKey + "]. Retaining current key.");\r
+ logger.debug("Initial key created [" + key + "], but already got a state registered for the current key [" + currentKey + "]. Retaining current key.");\r
key = currentKey;\r
} else {\r
logger.info("Current search state cached under both new key [" + key + "] and current key [" + currentKey + "]");\r