Skip to content

Commit 32be65f

Browse files
committed
Remove long unused dep and properties; correct doc
1 parent 9358088 commit 32be65f

File tree

6 files changed

+5
-160
lines changed

6 files changed

+5
-160
lines changed

docs/reference/src/main/asciidoc/logging.asciidoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ endif::[]
44

55
[[logging]]
66
== Logging
7-
Weld is using link:https://developer.jboss.org/wiki/JBossLoggingTooling[JBoss Logging], an abstraction layer which provides support for the internationalization and localization of log messages and exception messages. However, JBoss Logging itself does not write any log messages. Instead, it only constructs a log message and delegates to one of the supported logging frameworks.
7+
Weld is using link:https://github.com/jboss-logging/jboss-logging[JBoss Logging], an abstraction layer which provides support for the internationalization and localization of log messages and exception messages. However, JBoss Logging itself does not write any log messages. Instead, it only constructs a log message and delegates to one of the supported logging frameworks.
88

99
The supported "back-end" frameworks include:
1010

11-
. link:https://developer.jboss.org/wiki/StandaloneJBossLogManager[jboss-logmanager]
12-
. link:http://logging.apache.org/log4j/2.x/[Log4j]
13-
. link:http://www.slf4j.org/[SLF4J]
11+
. link:https://github.com/jboss-logging/jboss-logging[jboss-logmanager]
12+
. link:https://logging.apache.org/log4j/2.x/[Log4j]
13+
. link:https://www.slf4j.org/[SLF4J]
1414
. JDK logging
1515

16-
A system property `org.jboss.logging.provider` may be used to specify the logging framework directly. Supported values are `jboss`, `jdk`, `log4j` and `slf4j`. If this system property is not set, JBoss Logging will attempt to find the logging frameworks from the above-mentioned list on the classpath - the first one found is taken.
16+
A system property `org.jboss.logging.provider` may be used to specify the logging framework directly. Supported values are `jboss`, `jdk`, `log4j2` and `slf4j`. If this system property is not set, JBoss Logging will attempt to find the logging frameworks from the above-mentioned list on the classpath - the first one found is taken.
1717

1818
=== Java EE containers
1919
If using Weld with a Java EE container (e.g. WildFly) the logging configuration is under the direction of the container. You should follow the container-specific guides to change the configuration (e.g. link:http://docs.wildfly.org/14/Admin_Guide.html#Logging[WildFly Admin Guide - Logging Configuration]).

examples/se/groovy-numberguess/src/main/resources/log4j.properties

Lines changed: 0 additions & 25 deletions
This file was deleted.

examples/se/numberguess/src/main/resources/log4j.properties

Lines changed: 0 additions & 25 deletions
This file was deleted.

jboss-tck-runner/pom.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -389,30 +389,12 @@
389389
<groupId>org.wildfly.arquillian</groupId>
390390
<artifactId>wildfly-arquillian-container-managed</artifactId>
391391
<scope>test</scope>
392-
<exclusions>
393-
<exclusion>
394-
<groupId>org.jboss.arquillian.core</groupId>
395-
<artifactId>arquillian-core-spi</artifactId>
396-
</exclusion>
397-
<exclusion>
398-
<groupId>org.jboss.arquillian.core</groupId>
399-
<artifactId>arquillian-core-api</artifactId>
400-
</exclusion>
401-
<exclusion>
402-
<groupId>org.jboss.logmanager</groupId>
403-
<artifactId>log4j-jboss-logmanager</artifactId>
404-
</exclusion>
405-
</exclusions>
406392
</dependency>
407393
<dependency>
408394
<groupId>org.jboss.arquillian.protocol</groupId>
409395
<artifactId>arquillian-protocol-servlet-jakarta</artifactId>
410396
<scope>test</scope>
411397
</dependency>
412-
<dependency>
413-
<groupId>log4j</groupId>
414-
<artifactId>log4j</artifactId>
415-
</dependency>
416398
</dependencies>
417399
<build>
418400
<resources>

jboss-tck-runner/src/test/resources/log4j.xml

Lines changed: 0 additions & 76 deletions
This file was deleted.

pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
<jsp.api.version>4.0.0</jsp.api.version>
8686
<jstl.api.version>3.0.2</jstl.api.version>
8787
<junit.version>4.13.2</junit.version>
88-
<log4j.version>1.2.17</log4j.version>
8988
<shrinkwrap.version>1.2.6</shrinkwrap.version>
9089
<shrinkwrap.resolver.version>3.3.4</shrinkwrap.resolver.version>
9190
<spotbugs-maven-plugin.version>4.9.8.2</spotbugs-maven-plugin.version>
@@ -274,10 +273,6 @@
274273
<artifactId>wildfly-arquillian-common</artifactId>
275274
<version>${wildfly.arquillian.version}</version>
276275
<exclusions>
277-
<exclusion>
278-
<groupId>org.jboss.logmanager</groupId>
279-
<artifactId>log4j-jboss-logmanager</artifactId>
280-
</exclusion>
281276
<exclusion>
282277
<groupId>org.slf4j</groupId>
283278
<artifactId>slf4j-api</artifactId>
@@ -417,12 +412,6 @@
417412
<version>${jsp.api.version}</version>
418413
</dependency>
419414

420-
<dependency>
421-
<groupId>log4j</groupId>
422-
<artifactId>log4j</artifactId>
423-
<version>${log4j.version}</version>
424-
</dependency>
425-
426415
<dependency>
427416
<groupId>io.smallrye</groupId>
428417
<artifactId>jandex</artifactId>

0 commit comments

Comments
 (0)