Skip to content

Commit

Permalink
change location log4j (#1124)
Browse files Browse the repository at this point in the history
* change location

* update version log4j
  • Loading branch information
EvenSol authored Oct 1, 2024
1 parent 1b873a9 commit 5756f20
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 33 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.24.0</version>
<version>2.24.1</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.24.0</version>
<version>2.24.1</version>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
Expand Down
4 changes: 2 additions & 2 deletions pomJava21.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.24.0</version>
<version>2.24.1</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.24.0</version>
<version>2.24.1</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
16 changes: 7 additions & 9 deletions log4j2.properties → src/main/java/log4j2.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
status = error
name = PropertiesConfig

filters = threshold

filter.threshold.type = ThresholdFilter
filter.threshold.level = debug

appenders = console


# Console Appender
appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n

# Threshold Filter for Appender
#appender.console.filter.threshold.type = ThresholdFilter
#appender.console.filter.threshold.level = DEBUG

# Root Logger
rootLogger.level = OFF
rootLogger.appenderRefs = stdout
rootLogger.appenderRef.stdout.ref = STDOUT
20 changes: 0 additions & 20 deletions src/main/java/neqsim/log4j2.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ public void setGuessOutTemperature(double guessOutTemperature) {
* </p>
*
* @param guessOutTemperature a double
* @param unit a String
*/
public void setGuessOutTemperature(double guessOutTemperature, String unit) {
this.guessOutTemperature = guessOutTemperature;
Expand Down

0 comments on commit 5756f20

Please sign in to comment.