Added logs

Refs #12184: Create different pools for Scheduled Thread in accounting stack 

Task-Url: https://support.d4science.org/issues/12184

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib-accounting-service@169824 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2018-07-18 14:28:46 +00:00
parent 7090497f8a
commit b9a0aeaec5
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ public class PersistenceAccountingService extends PersistenceBackend {
private static String containsFormat = "$entry/@EntryName eq '%1s'"; private static String containsFormat = "$entry/@EntryName eq '%1s'";
private static SimpleQuery queryForService() { private static SimpleQuery queryForService() {
logger.trace("going to query GCoreEndpoint of {}", SERVICE_NAME);
return ICFactory.queryFor(GCoreEndpoint.class).addCondition(String.format(classFormat, SERVICE_CLASS)) return ICFactory.queryFor(GCoreEndpoint.class).addCondition(String.format(classFormat, SERVICE_CLASS))
.addCondition(String.format(nameFormat, SERVICE_NAME)).addCondition(String.format(statusFormat)) .addCondition(String.format(nameFormat, SERVICE_NAME)).addCondition(String.format(statusFormat))
.addVariable("$entry", "$resource/Profile/AccessPoint/RunningInstanceInterfaces/Endpoint") .addVariable("$entry", "$resource/Profile/AccessPoint/RunningInstanceInterfaces/Endpoint")