Authored by chenchao

change logger file

... ... @@ -25,6 +25,7 @@ import com.yohoufo.order.service.impl.SkupListService;
import com.yohoufo.order.service.proxy.ProductProxyService;
import com.yohoufo.order.service.seller.orderMeta.SellerOrderMetaService;
import com.yohoufo.order.service.support.codegenerator.OrderCodeGenerator;
import com.yohoufo.order.utils.LoggerUtils;
import org.apache.commons.collections.CollectionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
... ... @@ -44,7 +45,7 @@ import java.util.List;
@Service
public class QuickDeliverGoodsService {
private final Logger logger = LoggerFactory.getLogger(getClass());
private final Logger logger = LoggerUtils.getSellerOrderLogger();
@Autowired
private QuickDeliverPublishProcessor quickDeliverPublishProcessor;
... ... @@ -137,8 +138,8 @@ public class QuickDeliverGoodsService {
SellerOrderGoods psog = context.getSellerOrderGoods();
int skup = psog.getId();
try{
boolean syncPrdFlag = productProxyService.syncFullSkup(psog=context.getSellerOrderGoods(), SkupStatus.CAN_SELL);
logger.info("publish quick deliver Prd finish, createGoods {}, skup {}, depositCode {}",
boolean syncPrdFlag = productProxyService.syncFullSkup(psog=context.getSellerOrderGoods(), SkupStatus.CAN_SELL);
logger.info("publish quick deliver Prd finish, createGoods {}, skup {}, depositCode {}",
syncPrdFlag, skup, depositCode);
}catch (Exception ex){
logger.warn("in publish quick deliver prd, sync full skup fail, uid {} depositCode {} skup {}",
... ...