Skip to content

Commit

Permalink
FIX: NAV-91 - Log tests on DEBUG level
Browse files Browse the repository at this point in the history
- The only compatible version of log4j with our project, seems to be 3.0.0-beta1.
- Versions below 3.0.0 and also 3.0.0-beta2 are ignoring the log4j2-test.properties file, which sets the default log level for tests to INFO.
  • Loading branch information
munterfi committed Jun 6, 2024
1 parent 6d059e2 commit b358d85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.23.1</version>
<version>3.0.0-beta1</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.23.1</version>
<version>3.0.0-beta1</version>
</dependency>
<!-- io -->
<dependency>
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# logging
logging.level.root=${LOG_LEVEL:INFO}
# gtfs
gtfs.static.url=${GTFS_STATIC_URL:src/test/resources/ch/naviqore/gtfs/schedule/sample-feed-1.zip}
# gtfs.static.url=benchmark/input/switzerland.zip
Expand Down

0 comments on commit b358d85

Please sign in to comment.