jorgediaz-lr/servicebuilder-reflection

Too much logging in ModelFactory.getModelObject during model loading

jorgediaz-lr opened this issue · 1 comments

Too much logging in ModelFactory.getModelObject during model loading.

For example, following traces are writted once for each portlet+classname combination:

        catch (Exception e) {
            if (_log.isDebugEnabled()) {
                _log.debug(e, e);
            }
            else if (_log.isInfoEnabled()) {
                _log.info(
                    "Cannot get model object of " + className +
                    " EXCEPTION: " + e.getClass().getName() + ": " +
                    e.getMessage());
            }
        }

Solved in commit: 0eec145