fix a log level
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib-accounting-service@148822 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0dff814bde
commit
2a518636aa
|
@ -138,7 +138,7 @@ public class PersistenceAccountingService extends PersistenceBackend {
|
|||
wr.close();
|
||||
responseCode = con.getResponseCode();
|
||||
}
|
||||
logger.debug("reallyAccount Post parameters : " + recordMarshal);
|
||||
//logger.debug("reallyAccount Post parameters : " + recordMarshal);
|
||||
logger.debug("reallyAccount Response Code : " + responseCode);
|
||||
switch (responseCode) {
|
||||
case HttpURLConnection.HTTP_OK:
|
||||
|
@ -162,7 +162,7 @@ public class PersistenceAccountingService extends PersistenceBackend {
|
|||
String path=urlService+PATH_SERVICE_INSERTS_ACCOUNTING;
|
||||
List<String> valuesList=new ArrayList<String>();
|
||||
for(Record record:records){
|
||||
logger.trace("add record:{}",record);
|
||||
//logger.trace("add record:{}",record);
|
||||
valuesList.add(DSMapper.marshal(record));
|
||||
}
|
||||
SerializableList list=new SerializableList(valuesList);
|
||||
|
@ -202,9 +202,9 @@ public class PersistenceAccountingService extends PersistenceBackend {
|
|||
responseCode = con.getResponseCode();
|
||||
}
|
||||
logger.debug("accountWithFallback gcube-scope : " +context);
|
||||
logger.debug("accountWithFallback Post parameters : " + writer.toString());
|
||||
//logger.debug("accountWithFallback Post parameters : " + writer.toString());
|
||||
logger.debug("accountWithFallback Response Code : " + responseCode);
|
||||
logger.trace("accountWithFallback - Send records to service:{}");
|
||||
logger.trace("accountWithFallback - Send records to service");
|
||||
switch (responseCode) {
|
||||
case HttpURLConnection.HTTP_OK:
|
||||
logger.trace("accountWithFallback - Service respond ok :{}");
|
||||
|
|
Loading…
Reference in New Issue