From f64dac5e1b2359841bb617426b226d66b90bab4b Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Fri, 1 Mar 2019 19:06:07 +0400 Subject: [PATCH] Added server logs about exp/cards downloads; --- Mage.Server/src/main/java/mage/server/MageServerImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage.Server/src/main/java/mage/server/MageServerImpl.java b/Mage.Server/src/main/java/mage/server/MageServerImpl.java index 4ed604330e..83abdafa5b 100644 --- a/Mage.Server/src/main/java/mage/server/MageServerImpl.java +++ b/Mage.Server/src/main/java/mage/server/MageServerImpl.java @@ -1199,13 +1199,15 @@ public class MageServerImpl implements MageServer { result.add(expansionInfo); } } + logger.info("Missing exp downloaded: " + result.size()); return result; } @Override public List getMissingCardsData(List classNames) { - return CardRepository.instance.getMissingCards(classNames); - + List res = CardRepository.instance.getMissingCards(classNames); + logger.info("Missing cards downloaded: " + res.size()); + return res; } private static class MyActionWithNullNegativeResult extends ActionWithNullNegativeResult {