1010import javax .ws .rs .core .Response ;
1111
1212import org .eclipse .jetty .http .HttpStatus ;
13- import org .slf4j .Logger ;
14- import org .slf4j .LoggerFactory ;
13+ import org .apache .log4j .Logger ;
1514
1615import com .appirio .clients .BaseClient ;
1716import com .appirio .clients .BaseClientConfiguration ;
@@ -34,7 +33,7 @@ public class MemberServiceClient extends BaseClient {
3433 /**
3534 * The logger
3635 */
37- private final static Logger LOGGER = LoggerFactory .getLogger (MemberServiceClient .class );
36+ private final static Logger LOGGER = Logger .getLogger (MemberServiceClient .class );
3837
3938 /**
4039 * The M2M auth configuration
@@ -66,6 +65,7 @@ public Set<RoleSubject> getMembers(List<TCID> userIds) throws Exception {
6665 for (TCID userId : userIds ) {
6766 url .append ("&userIds=" + userId .getId ());
6867 }
68+ LOGGER .info (url .toString ());
6969 WebTarget target = this .client .target (url .toString ());
7070
7171 String m2mToken = Utils .generateAuthToken (this .m2mAuthConfiguration );
@@ -77,6 +77,7 @@ public Set<RoleSubject> getMembers(List<TCID> userIds) throws Exception {
7777 throw new SupplyException ("Unable to get members from the API, the returned status code is: " + response .getStatusInfo ().getStatusCode ());
7878 }
7979
80+ LOGGER .info (response .toString ());
8081 JsonNode apiResponse = response .readEntity (JsonNode .class );
8182 Set <RoleSubject > users = new HashSet <RoleSubject >();
8283 if (apiResponse .isArray ()) {
0 commit comments