Commit b8eca179 authored by Matija Obreza's avatar Matija Obreza

Reduce logging

parent d6afecda
......@@ -254,13 +254,13 @@ public class DSServiceImpl implements DSService {
Object sampleQualifier = it.next();
if (sampleQualifier instanceof Object[]) {
LOG.info("Qualifiers are arrays!");
LOG.debug("Qualifiers are arrays!");
// TODO Sort it out
for (Object qs : qualifiers) {
dsrs.put(qs, findOrMakeRow(ds, (Object[]) qs));
}
} else if (sampleQualifier instanceof Long) {
LOG.info("Qualifiers are Longs");
LOG.debug("Qualifiers are Longs");
List<Object[]> existing = dsRowRepo.findByLongQualifier(ds, qualifiers);
Map<Long, DSRow> qualifierMap = new HashMap<Long, DSRow>();
......@@ -337,7 +337,7 @@ public class DSServiceImpl implements DSService {
@Transactional
public void worldclimUpdate(DS dataset, DSDescriptor dsd, Set<Long> tileIndexes, MappedByteBuffer buffer, short nullValue, double factor) {
if (LOG.isInfoEnabled()) {
LOG.info("Updating " + dsd.getDescriptor().getCode() + " for tileIndexes: " + tileIndexes);
LOG.info("Updating " + dsd.getDescriptor().getCode() + " for tileIndexes: " + tileIndexes.size());
}
Map<Object, DSRow> rowMap = findOrMakeRows(dataset, tileIndexes);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment