diff --git a/.gitignore b/.gitignore
index b9d6bd9..ff018c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
## Eclipse
#################
+target/
*.pydevproject
.project
.metadata
diff --git a/README.md b/README.md
index c87cd3d..4d290c6 100644
--- a/README.md
+++ b/README.md
@@ -80,7 +80,6 @@ The `adapters.xml` file for the Stock-List Demo, should look like:
- adapters_log_conf.xml
10
diff --git a/pom.xml b/pom.xml
index 356d98e..4b972c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -64,11 +64,10 @@
7.3.0
- log4j
- log4j
- 1.2.17
-
-
+ org.apache.logging.log4j
+ log4j-core
+ 2.13.3
+
\ No newline at end of file
diff --git a/src/main/java/com/lightstreamer/src_adapter/stocklist_demo/adapters/StockQuotesDataAdapter.java b/src/main/java/com/lightstreamer/src_adapter/stocklist_demo/adapters/StockQuotesDataAdapter.java
index 000c5bc..56ade5f 100644
--- a/src/main/java/com/lightstreamer/src_adapter/stocklist_demo/adapters/StockQuotesDataAdapter.java
+++ b/src/main/java/com/lightstreamer/src_adapter/stocklist_demo/adapters/StockQuotesDataAdapter.java
@@ -24,8 +24,8 @@
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
-import org.apache.log4j.Logger;
-import org.apache.log4j.xml.DOMConfigurator;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
import stocklist_demo.feed_simulator.ExternalFeedListener;
import stocklist_demo.feed_simulator.ExternalFeedSimulator;
@@ -102,6 +102,7 @@ public StockQuotesDataAdapter() {
* feed, for a real feed).
*/
public void init(Map params, File configDir) {
+ /*
String logConfig = (String) params.get("log_config");
if (logConfig != null) {
File logConfigFile = new File(configDir, logConfig);
@@ -111,8 +112,8 @@ public void init(Map params, File configDir) {
} else {
DOMConfigurator.configure(logConfigFile.getAbsolutePath());
}
- }
- logger = Logger.getLogger("LS_demos_Logger.StockQuotes");
+ }*/
+ logger = LogManager.getLogger("LS_demos_Logger.StockQuotes");
//The feedMap of this adapter is never used
// Read the Adapter Set name, which is supplied by the Server as a parameter