Skip to content
Snippets Groups Projects
Commit f1638e98 authored by gpawel's avatar gpawel
Browse files

bugfix: logging could cause performance problems

SVN: 24454
parent 0e206975
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ class GeneralInformationServiceLogger extends AbstractServerLogger implements
public List<DataSet> listDataSets(String sessionToken, List<Sample> samples)
{
logAccess(sessionToken, "list-data-sets", "SAMPLES(%s)", samples);
logAccess(sessionToken, "list-data-sets", "SAMPLES(%s)", abbreviate(samples));
return null;
}
......@@ -160,14 +160,14 @@ class GeneralInformationServiceLogger extends AbstractServerLogger implements
public List<DataSet> listDataSets(String sessionToken, List<Sample> samples,
EnumSet<Connections> connectionsToGet)
{
logAccess(sessionToken, "list-data-sets", "SAMPLES(%s) CONNECTIONS(%s)", samples,
connectionsToGet);
logAccess(sessionToken, "list-data-sets", "SAMPLES(%s) CONNECTIONS(%s)",
abbreviate(samples), connectionsToGet);
return null;
}
public List<DataSet> getDataSetMetaData(String sessionToken, List<String> dataSetCodes)
{
logAccess(sessionToken, "get-data-set-meta-data", "DATA_SETS(%s)", dataSetCodes);
logAccess(sessionToken, "get-data-set-meta-data", "DATA_SETS(%s)", abbreviate(dataSetCodes));
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment