Added log
This commit is contained in:
parent
2d6e853e6f
commit
4e40358fde
|
@ -6,6 +6,8 @@ import java.util.List;
|
|||
|
||||
import org.gcube.com.fasterxml.jackson.databind.JsonNode;
|
||||
import org.gcube.com.fasterxml.jackson.databind.node.ArrayNode;
|
||||
import org.gcube.common.authorization.library.provider.AuthorizationProvider;
|
||||
import org.gcube.common.authorization.library.provider.SecurityTokenProvider;
|
||||
import org.gcube.common.authorization.utils.manager.SecretManagerProvider;
|
||||
import org.gcube.gcat.api.configuration.CatalogueConfiguration;
|
||||
import org.gcube.gcat.configuration.CatalogueConfigurationFactory;
|
||||
|
@ -144,7 +146,12 @@ public class SocialPost extends Thread {
|
|||
}
|
||||
String message = messageWriter.toString();
|
||||
|
||||
logger.debug("The post that is going to be written is\n{}", message);
|
||||
logger.debug("The social post that is going to be written is\n{}", message);
|
||||
|
||||
logger.trace("The user is going to send the social post is {}",SecretManagerProvider.instance.get().getUser().getUsername());
|
||||
logger.trace("SecurityTokenProvider {}", SecurityTokenProvider.instance.get());
|
||||
logger.trace("AuthorizationProvider {}", AuthorizationProvider.instance.get());
|
||||
|
||||
|
||||
PostClient postClient = new PostClient();
|
||||
PostInputBean postInputBean = new PostInputBean();
|
||||
|
|
Loading…
Reference in New Issue