Jean-Francois Leveque

Contrôle du log d'erreur passé au logger.

......@@ -62,7 +62,7 @@ public class CosineRecommender implements Recommender {
rec = LenskitRecommender.build(config);
irec = rec.getItemRecommender();
} catch (RecommenderBuildException e) {
logger.error("Recommender RecommenderBuildException {}", e.getStackTrace());
logger.error("Recommender RecommenderBuildException {}", e);
}
}
......
......@@ -56,7 +56,7 @@ public class FunkSVDRecommender implements Recommender {
rec = LenskitRecommender.build(config);
irec = rec.getItemRecommender();
} catch (RecommenderBuildException e) {
logger.error("Recommender RecommenderBuildException {}", e.getStackTrace());
logger.error("Recommender RecommenderBuildException {}", e);
}
}
......
......@@ -62,7 +62,7 @@ public class PearsonRecommender implements Recommender {
rec = LenskitRecommender.build(config);
irec = rec.getItemRecommender();
} catch (RecommenderBuildException e) {
logger.error("Recommender RecommenderBuildException {}", e.getStackTrace());
logger.error("Recommender RecommenderBuildException {}", e);
}
}
......
......@@ -53,7 +53,7 @@ public class SlopeOneRecommender implements Recommender {
rec = LenskitRecommender.build(config);
irec = rec.getItemRecommender();
} catch (RecommenderBuildException e) {
logger.error("Recommender RecommenderBuildException {}", e.getStackTrace());
logger.error("Recommender RecommenderBuildException {}", e);
}
}
......