IGNITE-13464: Fixed REST module logging: use the slf4j facade to log third-party libraries. (#9676)

(cherry picked from commit c318d6e203393c54bca9b06ae78e48affe456e15)
diff --git a/modules/rest-http/README.txt b/modules/rest-http/README.txt
index 0df2cf5..e7a855e 100644
--- a/modules/rest-http/README.txt
+++ b/modules/rest-http/README.txt
@@ -8,6 +8,9 @@
 'libs' folder before running 'ignite.{sh|bat}' script. The content of the module folder will
 be added to classpath in this case.
 
+The module depends on third-party libraries that use the slf4j facade for logging.
+You can set up an underlying logging framework yourself.
+
 Importing REST-HTTP Module In Maven Project
 -------------------------------------------
 
diff --git a/modules/rest-http/pom.xml b/modules/rest-http/pom.xml
index 49a0396..8ba1c97 100644
--- a/modules/rest-http/pom.xml
+++ b/modules/rest-http/pom.xml
@@ -121,14 +121,9 @@
         </dependency>
 
         <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>${slf4j.version}</version>
-        </dependency>
-
-        <dependency>
             <groupId>log4j</groupId>
             <artifactId>log4j</artifactId>
+            <scope>test</scope>
         </dependency>
 
         <dependency>