syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject syncope git commit: Minor fix
Date Wed, 11 Jan 2017 14:00:29 GMT
Repository: syncope
Updated Branches:
  refs/heads/1_2_X a2bd1f69f -> cde182f8d


Minor fix


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/cde182f8
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/cde182f8
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/cde182f8

Branch: refs/heads/1_2_X
Commit: cde182f8dd8102ec49abb630da52949848020a12
Parents: a2bd1f6
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Wed Jan 11 15:00:23 2017 +0100
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Wed Jan 11 15:00:23 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/syncope/core/init/LoggerLoader.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/cde182f8/core/src/main/java/org/apache/syncope/core/init/LoggerLoader.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/syncope/core/init/LoggerLoader.java b/core/src/main/java/org/apache/syncope/core/init/LoggerLoader.java
index f49fc7f..a037066 100644
--- a/core/src/main/java/org/apache/syncope/core/init/LoggerLoader.java
+++ b/core/src/main/java/org/apache/syncope/core/init/LoggerLoader.java
@@ -67,9 +67,7 @@ public class LoggerLoader {
                     SyncopeLogger syncopeLogger = new SyncopeLogger();
                     syncopeLogger.setName(loggerName);
                     syncopeLogger.setLevel(LoggerLevel.fromLevel(logConf.getLevel()));
-                    syncopeLogger.setType(loggerName.startsWith(LoggerType.AUDIT.getPrefix())
-                            ? LoggerType.AUDIT
-                            : LoggerType.LOG);
+                    syncopeLogger.setType(LoggerType.LOG);
                     loggerDAO.save(syncopeLogger);
                 }
             }


Mime
View raw message