From 98729c258245582a6ff22ce82a957a946f300635 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 5 Nov 2012 00:51:06 -0300 Subject: [PATCH] Configure loggers for proper login. --- .../main/javascript/commands/GenericFunctionCommand.js | 3 ++- wise-webapp/pom.xml | 10 ++++++++-- .../com/wisemapping/model/AccessAuditory.hbm.xml | 2 +- .../com/wisemapping/model/Collaboration.hbm.xml | 2 +- .../wisemapping/model/CollaborationProperties.hbm.xml | 2 +- .../com/wisemapping/model/Collaborator.hbm.xml | 2 +- .../com/wisemapping/model/MindMapHistory.hbm.xml | 2 +- .../resources/com/wisemapping/model/Mindmap.hbm.xml | 2 +- .../src/main/webapp/WEB-INF/classes/log4j.properties | 4 ++-- 9 files changed, 18 insertions(+), 11 deletions(-) diff --git a/mindplot/src/main/javascript/commands/GenericFunctionCommand.js b/mindplot/src/main/javascript/commands/GenericFunctionCommand.js index 492fad4a..ffb7b8aa 100644 --- a/mindplot/src/main/javascript/commands/GenericFunctionCommand.js +++ b/mindplot/src/main/javascript/commands/GenericFunctionCommand.js @@ -38,8 +38,9 @@ mindplot.commands.GenericFunctionCommand = new Class({ } catch (e) { if (this._commandFunc.commandType != "changeTextToTopic") { // Workaround: For some reason, there is a combination of events that involves - // making some modification and firing out out focus. This is causing + // making some modification and firing out of focus event. This is causing // that a remove node try to be removed. In some other life, I will come with the solution. + // Almost aways occurs with IE9. I could be related with some change of order in sets o something similar. throw e; } } diff --git a/wise-webapp/pom.xml b/wise-webapp/pom.xml index c2dcbdf6..aedf280a 100644 --- a/wise-webapp/pom.xml +++ b/wise-webapp/pom.xml @@ -95,6 +95,12 @@ ${org.springframework.version} compile + + org.slf4j + slf4j-log4j12 + 1.7.2 + runtime + org.springframework spring-web @@ -255,7 +261,7 @@ log4j log4j - 1.2.9 + 1.2.17 compile @@ -280,7 +286,7 @@ org.slf4j slf4j-api - 1.6.4 + 1.7.2 runtime diff --git a/wise-webapp/src/main/resources/com/wisemapping/model/AccessAuditory.hbm.xml b/wise-webapp/src/main/resources/com/wisemapping/model/AccessAuditory.hbm.xml index c9eb20da..8586119d 100755 --- a/wise-webapp/src/main/resources/com/wisemapping/model/AccessAuditory.hbm.xml +++ b/wise-webapp/src/main/resources/com/wisemapping/model/AccessAuditory.hbm.xml @@ -1,7 +1,7 @@ + "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> diff --git a/wise-webapp/src/main/resources/com/wisemapping/model/Collaboration.hbm.xml b/wise-webapp/src/main/resources/com/wisemapping/model/Collaboration.hbm.xml index a07f023f..51808281 100644 --- a/wise-webapp/src/main/resources/com/wisemapping/model/Collaboration.hbm.xml +++ b/wise-webapp/src/main/resources/com/wisemapping/model/Collaboration.hbm.xml @@ -1,7 +1,7 @@ + "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> diff --git a/wise-webapp/src/main/resources/com/wisemapping/model/CollaborationProperties.hbm.xml b/wise-webapp/src/main/resources/com/wisemapping/model/CollaborationProperties.hbm.xml index 905f9bf0..6e9908d6 100644 --- a/wise-webapp/src/main/resources/com/wisemapping/model/CollaborationProperties.hbm.xml +++ b/wise-webapp/src/main/resources/com/wisemapping/model/CollaborationProperties.hbm.xml @@ -1,7 +1,7 @@ + "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> diff --git a/wise-webapp/src/main/resources/com/wisemapping/model/Collaborator.hbm.xml b/wise-webapp/src/main/resources/com/wisemapping/model/Collaborator.hbm.xml index 4bc92e65..ef094032 100755 --- a/wise-webapp/src/main/resources/com/wisemapping/model/Collaborator.hbm.xml +++ b/wise-webapp/src/main/resources/com/wisemapping/model/Collaborator.hbm.xml @@ -1,7 +1,7 @@ + "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> diff --git a/wise-webapp/src/main/resources/com/wisemapping/model/MindMapHistory.hbm.xml b/wise-webapp/src/main/resources/com/wisemapping/model/MindMapHistory.hbm.xml index b265e130..e1320af4 100755 --- a/wise-webapp/src/main/resources/com/wisemapping/model/MindMapHistory.hbm.xml +++ b/wise-webapp/src/main/resources/com/wisemapping/model/MindMapHistory.hbm.xml @@ -1,7 +1,7 @@ + "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> diff --git a/wise-webapp/src/main/resources/com/wisemapping/model/Mindmap.hbm.xml b/wise-webapp/src/main/resources/com/wisemapping/model/Mindmap.hbm.xml index 45c43afa..823a0725 100644 --- a/wise-webapp/src/main/resources/com/wisemapping/model/Mindmap.hbm.xml +++ b/wise-webapp/src/main/resources/com/wisemapping/model/Mindmap.hbm.xml @@ -1,7 +1,7 @@ + "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> diff --git a/wise-webapp/src/main/webapp/WEB-INF/classes/log4j.properties b/wise-webapp/src/main/webapp/WEB-INF/classes/log4j.properties index fc70ce71..8621a470 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/classes/log4j.properties +++ b/wise-webapp/src/main/webapp/WEB-INF/classes/log4j.properties @@ -2,8 +2,8 @@ log4j.rootLogger=WARN, stdout, R log4j.logger.com.wisemapping=WARN,stdout,R log4j.logger.org.springframework=WARN,stdout,R log4j.logger.org.codehaus.jackson=WARN,stdout,R -log4j.logger.org.hibernate=DEBUG,stdout,R -log4j.logger.org.hibernate.SQL=true +log4j.logger.org.hibernate=WARN,stdout,R +#log4j.logger.org.hibernate.SQL=WARN,stdout,R # Stdout logger �