public void onStatStateChanged(Stat stat) {
        if (stat.isNormalState())
            logger.info(stat.getName() + " now is in normal state: " + stat.getStoredValueAsString());
        else
            logger.error(stat.getName() + ": " + stat.getStateDescription() + ": " + stat.getStoredValueAsString());
    }