Skip to content

Commit

Permalink
update to slf4j, remove DynamicLog (ray-project#2384)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuxi authored and pcmoritz committed Jul 10, 2018
1 parent 55d5e28 commit 450b11f
Show file tree
Hide file tree
Showing 15 changed files with 70 additions and 613 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ build
*.iml
java/**/target
java/run
java/test/lib
java/**/lib
8 changes: 0 additions & 8 deletions java/api/src/main/java/org/ray/api/Ray.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.List;
import org.ray.api.internal.RayConnector;
import org.ray.util.exception.TaskExecutionException;
import org.ray.util.logger.DynamicLog;
import org.ray.util.logger.RayLog;

/**
Expand Down Expand Up @@ -102,11 +101,4 @@ public static <T> RayActor<T> create(Class<T> cls) {
static RayApi internal() {
return impl;
}

/**
* for ray's app's log.
*/
public static DynamicLog getRappLogger() {
return RayLog.rapp;
}
}
4 changes: 2 additions & 2 deletions java/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
<groupId>quartz</groupId>
Expand Down
46 changes: 0 additions & 46 deletions java/common/src/main/java/org/ray/util/logger/ConsoleLogger.java

This file was deleted.

258 changes: 0 additions & 258 deletions java/common/src/main/java/org/ray/util/logger/DynamicLog.java

This file was deleted.

Loading

0 comments on commit 450b11f

Please sign in to comment.