diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index fff5491..9e9e802 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -63,7 +63,7 @@ import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.allen_sauer.gwt.log.client.Log; + import com.google.gwt.user.server.rpc.RemoteServiceServlet; /** @@ -257,14 +257,14 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements TableId tableId = null; if (table == null) { - Log.info("Tabular resource "+tr.getId()+" has no table."); + logger.info("Tabular resource "+tr.getId()+" has no table."); } else { tableId = table.getId(); } TRId trId = null; if (tableId == null) { - Log.info("Tabular Resource "+tr.getId()+" has last table with id null."); + logger.info("Tabular Resource "+tr.getId()+" has last table with id null."); } else { trId = new TRId(String.valueOf(tr.getId().getValue()), String.valueOf(tableId.getValue())); @@ -495,9 +495,9 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements OperationInvocation invocation = importSDMXCodelistOperation .createOperationInvocation(parameterInstances); - Log.debug("OperationInvocation: \n"+invocation.toString()); + logger.debug("OperationInvocation: \n"+invocation.toString()); Task trTask = oService.execute(invocation, serviceTR.getId()); - Log.info("Start Task on service: TaskId "+trTask.getId()); + logger.debug("Start Task on service: TaskId "+trTask.getId()); SessionUtil.setSDMXImportTask(session, trTask); return; } catch (Exception e) { @@ -856,7 +856,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements OperationInvocation oi = importCSVFileOperation .createOperationInvocation(parameterInstance); - Log.debug("OperationInvocation: \n"+oi.toString()); + logger.debug("OperationInvocation: \n"+oi.toString()); TabularResource tabularResource = service.createTabularResource(); TabResource csvImportTabResource = csvImportSession.getTabResource(); syncTRMetaData(tabularResource, csvImportTabResource); @@ -873,7 +873,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements + e.getLocalizedMessage()); } - Log.info("Start Task on service: TaskId "+trTask.getId()); + logger.debug("Start Task on service: TaskId "+trTask.getId()); SessionUtil.setCSVImportFileTask(session, trTask); }