diff --git a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java index ba8775802711219853d001b7c427892e7414d892..ecbdbcd15784c959ba6687eaf22a2a1f0dcb8df1 100644 --- a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java +++ b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java @@ -163,7 +163,7 @@ public class CouchDBDao implements IDatabaseDao, ApplicationEventPublisherAware for (int i = 0; i < rawPayload.length; i += 2) { payload.put((String) rawPayload[i], rawPayload[i + 1]); } - log(event, payload, LogEntry.LogLevel.INFO); + log(event, payload, level); } @Override diff --git a/src/main/java/de/thm/arsnova/entities/LogEntry.java b/src/main/java/de/thm/arsnova/entities/LogEntry.java index cac697c5d8df322fa10615f5bef6b123e0fcf374..d4e20cc1706675d4d8c9aeebfa3a88d3fc2918d3 100644 --- a/src/main/java/de/thm/arsnova/entities/LogEntry.java +++ b/src/main/java/de/thm/arsnova/entities/LogEntry.java @@ -1,3 +1,20 @@ +/* + * This file is part of ARSnova Backend. + * Copyright (C) 2012-2017 The ARSnova Team + * + * ARSnova Backend is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * ARSnova Backend is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ package de.thm.arsnova.entities; import java.util.Map;