updated logger

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@154680 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2017-09-28 10:26:46 +00:00
parent 813d9b9224
commit 920c28bd88
1 changed files with 3 additions and 4 deletions

View File

@ -12,6 +12,7 @@ import java.util.UUID;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
import org.gcube.common.homelibrary.home.HomeLibrary;
import org.gcube.common.homelibrary.home.exceptions.HomeNotFoundException;
import org.gcube.common.homelibrary.home.exceptions.InternalErrorException;
@ -31,8 +32,6 @@ import org.gcube.usecases.ws.thredds.PublishFolders;
import org.gcube.usecases.ws.thredds.TokenSetter;
import org.gcube.usecases.ws.thredds.engine.TransferRequestServer;
import org.gcube.usecases.ws.thredds.engine.TransferRequestServer.Report;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
@ -44,7 +43,7 @@ import org.slf4j.LoggerFactory;
public class PublishOnThredds {
private HashSet<FolderConfiguration> configs;
private Logger logger = LoggerFactory.getLogger(ApplicationProfileReader.class);
private Logger logger = Logger.getLogger(ApplicationProfileReader.class);
private String username;
private HttpSession httpSession;
@ -100,7 +99,7 @@ public class PublishOnThredds {
try{
Workspace ws = HomeLibrary.getHomeManagerFactory().getHomeManager().getHome(username).getWorkspace();
// FolderReport report=new FolderReport(entry);
logger.debug("Managing {} ",entry);
logger.debug("Managing {} "+entry);
WorkspaceFolder folder = (WorkspaceFolder) ws.getItem(entry.getFolderId());
PublishFolders.handleFolder(ws,entry,server,folder);