From d7afcbb1de494533abb15536cb26480be223a27e Mon Sep 17 00:00:00 2001 From: xiaoleizi2016 Date: Sat, 20 Aug 2022 17:15:27 +0800 Subject: [PATCH] fix: modify abnormal logs(#1943) --- hugegraph-api/src/main/java/com/baidu/hugegraph/api/API.java | 2 +- .../src/main/java/com/baidu/hugegraph/api/auth/AccessAPI.java | 2 +- .../src/main/java/com/baidu/hugegraph/api/auth/BelongAPI.java | 2 +- .../src/main/java/com/baidu/hugegraph/api/auth/GroupAPI.java | 2 +- .../src/main/java/com/baidu/hugegraph/api/auth/LoginAPI.java | 2 +- .../main/java/com/baidu/hugegraph/api/auth/ProjectAPI.java | 2 +- .../src/main/java/com/baidu/hugegraph/api/auth/TargetAPI.java | 2 +- .../src/main/java/com/baidu/hugegraph/api/auth/UserAPI.java | 2 +- .../com/baidu/hugegraph/api/filter/CompressInterceptor.java | 2 +- .../main/java/com/baidu/hugegraph/api/job/ComputerAPI.java | 2 +- .../src/main/java/com/baidu/hugegraph/api/job/GremlinAPI.java | 2 +- .../src/main/java/com/baidu/hugegraph/api/job/TaskAPI.java | 4 ++-- .../main/java/com/baidu/hugegraph/api/profile/GraphsAPI.java | 2 +- .../baidu/hugegraph/api/traversers/AllShortestPathsAPI.java | 2 +- .../java/com/baidu/hugegraph/api/traversers/CountAPI.java | 2 +- .../com/baidu/hugegraph/api/traversers/CrosspointsAPI.java | 2 +- .../hugegraph/api/traversers/CustomizedCrosspointsAPI.java | 2 +- .../baidu/hugegraph/api/traversers/CustomizedPathsAPI.java | 2 +- .../java/com/baidu/hugegraph/api/traversers/EdgesAPI.java | 2 +- .../baidu/hugegraph/api/traversers/FusiformSimilarityAPI.java | 2 +- .../baidu/hugegraph/api/traversers/JaccardSimilarityAPI.java | 2 +- .../java/com/baidu/hugegraph/api/traversers/KneighborAPI.java | 2 +- .../main/java/com/baidu/hugegraph/api/traversers/KoutAPI.java | 2 +- .../hugegraph/api/traversers/MultiNodeShortestPathAPI.java | 2 +- .../com/baidu/hugegraph/api/traversers/NeighborRankAPI.java | 2 +- .../java/com/baidu/hugegraph/api/traversers/PathsAPI.java | 2 +- .../com/baidu/hugegraph/api/traversers/PersonalRankAPI.java | 2 +- .../main/java/com/baidu/hugegraph/api/traversers/RaysAPI.java | 2 +- .../java/com/baidu/hugegraph/api/traversers/RingsAPI.java | 2 +- .../com/baidu/hugegraph/api/traversers/SameNeighborsAPI.java | 2 +- .../com/baidu/hugegraph/api/traversers/ShortestPathAPI.java | 2 +- .../hugegraph/api/traversers/SingleSourceShortestPathAPI.java | 2 +- .../com/baidu/hugegraph/api/traversers/TemplatePathsAPI.java | 2 +- .../java/com/baidu/hugegraph/api/traversers/VerticesAPI.java | 2 +- .../hugegraph/api/traversers/WeightedShortestPathAPI.java | 2 +- .../java/com/baidu/hugegraph/api/variables/VariablesAPI.java | 2 +- .../java/com/baidu/hugegraph/auth/ContextGremlinServer.java | 2 +- .../src/main/java/com/baidu/hugegraph/core/GraphManager.java | 2 +- .../java/com/baidu/hugegraph/license/LicenseVerifier.java | 2 +- .../hugegraph/backend/store/cassandra/CassandraTable.java | 2 +- .../src/main/java/com/baidu/hugegraph/HugeFactory.java | 2 +- .../src/main/java/com/baidu/hugegraph/StandardHugeGraph.java | 2 +- .../java/com/baidu/hugegraph/backend/cache/AbstractCache.java | 2 +- .../java/com/baidu/hugegraph/backend/cache/CacheManager.java | 2 +- .../com/baidu/hugegraph/backend/id/SnowflakeIdGenerator.java | 2 +- .../hugegraph/backend/store/AbstractBackendStoreProvider.java | 2 +- .../com/baidu/hugegraph/backend/store/BackendStoreInfo.java | 2 +- .../com/baidu/hugegraph/backend/tx/AbstractTransaction.java | 2 +- .../com/baidu/hugegraph/job/computer/AbstractComputer.java | 2 +- .../java/com/baidu/hugegraph/task/StandardTaskScheduler.java | 2 +- .../src/main/java/com/baidu/hugegraph/task/TaskCallable.java | 2 +- .../baidu/hugegraph/backend/store/mysql/MysqlSessions.java | 2 +- .../com/baidu/hugegraph/backend/store/mysql/MysqlTable.java | 2 +- .../com/baidu/hugegraph/backend/store/palo/PaloSessions.java | 2 +- .../com/baidu/hugegraph/backend/store/palo/PaloTable.java | 2 +- .../backend/store/postgresql/PostgresqlSessions.java | 2 +- .../backend/store/postgresql/PostgresqlStoreProvider.java | 2 +- .../baidu/hugegraph/backend/store/rocksdb/RocksDBTable.java | 2 +- .../src/main/java/com/baidu/hugegraph/core/CoreTestSuite.java | 2 +- 59 files changed, 60 insertions(+), 60 deletions(-) diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/API.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/API.java index bfd0c71b83..e1c98b1565 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/API.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/API.java @@ -45,7 +45,7 @@ public class API { - protected static final Logger LOG = Log.logger(RestServer.class); + protected static final Logger LOG = Log.logger(API.class); public static final String CHARSET = "UTF-8"; diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/AccessAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/AccessAPI.java index ee14855d40..5bf9c223b5 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/AccessAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/AccessAPI.java @@ -59,7 +59,7 @@ @Tag(name = "AccessAPI") public class AccessAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(AccessAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/BelongAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/BelongAPI.java index 30f27dc2cc..1567be3ce5 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/BelongAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/BelongAPI.java @@ -57,7 +57,7 @@ @Tag(name = "BelongAPI") public class BelongAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(BelongAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/GroupAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/GroupAPI.java index 352cc8c2ac..7537724028 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/GroupAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/GroupAPI.java @@ -57,7 +57,7 @@ @Tag(name = "GroupAPI") public class GroupAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(GroupAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/LoginAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/LoginAPI.java index 19657f3454..75b68e506c 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/LoginAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/LoginAPI.java @@ -59,7 +59,7 @@ @Tag(name = "LoginAPI") public class LoginAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(LoginAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/ProjectAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/ProjectAPI.java index c6e3bca96e..871824f40e 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/ProjectAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/ProjectAPI.java @@ -62,7 +62,7 @@ @Tag(name = "ProjectAPI") public class ProjectAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(ProjectAPI.class); private static final String ACTION_ADD_GRAPH = "add_graph"; private static final String ACTION_REMOVE_GRAPH = "remove_graph"; diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/TargetAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/TargetAPI.java index af256492bf..5ac5fb5f5b 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/TargetAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/TargetAPI.java @@ -58,7 +58,7 @@ @Tag(name = "TargetAPI") public class TargetAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(TargetAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/UserAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/UserAPI.java index 3ec5853744..2c3334e87c 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/UserAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/auth/UserAPI.java @@ -60,7 +60,7 @@ @Tag(name = "UserAPI") public class UserAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(UserAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/filter/CompressInterceptor.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/filter/CompressInterceptor.java index fe5ec1ff58..df342af8d3 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/filter/CompressInterceptor.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/filter/CompressInterceptor.java @@ -46,7 +46,7 @@ public class CompressInterceptor implements WriterInterceptor { public static final String GZIP = "gzip"; - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(CompressInterceptor.class); // Set compress output buffer size to 4KB (about 40~600 vertices) public static final int BUFFER_SIZE = 1024 * 4; diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/ComputerAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/ComputerAPI.java index d3c52d4aae..5527cc7aa1 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/ComputerAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/ComputerAPI.java @@ -53,7 +53,7 @@ @Tag(name = "ComputerAPI") public class ComputerAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(ComputerAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/GremlinAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/GremlinAPI.java index e11c1a36d0..1f6e177d05 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/GremlinAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/GremlinAPI.java @@ -63,7 +63,7 @@ @Tag(name = "GremlinAPI") public class GremlinAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(GremlinAPI.class); private static final int MAX_NAME_LENGTH = 256; diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/TaskAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/TaskAPI.java index a0b7af8d05..c96fb6008d 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/TaskAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/TaskAPI.java @@ -62,7 +62,7 @@ @Tag(name = "TaskAPI") public class TaskAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(TaskAPI.class); private static final long NO_LIMIT = -1L; public static final String ACTION_CANCEL = "cancel"; @@ -185,4 +185,4 @@ private static TaskStatus parseStatus(String status) { Arrays.asList(TaskStatus.values()), status)); } } -} \ No newline at end of file +} diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/profile/GraphsAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/profile/GraphsAPI.java index ade85b71c8..1b784f7594 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/profile/GraphsAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/profile/GraphsAPI.java @@ -64,7 +64,7 @@ @Tag(name = "GraphsAPI") public class GraphsAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(GraphsAPI.class); private static final String CONFIRM_CLEAR = "I'm sure to delete all data"; private static final String CONFIRM_DROP = "I'm sure to drop the graph"; diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/AllShortestPathsAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/AllShortestPathsAPI.java index 5170a92093..5f33a6f5d0 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/AllShortestPathsAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/AllShortestPathsAPI.java @@ -55,7 +55,7 @@ @Tag(name = "AllShortestPathsAPI") public class AllShortestPathsAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(AllShortestPathsAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CountAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CountAPI.java index 4a39d0699b..ef93aa8e39 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CountAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CountAPI.java @@ -58,7 +58,7 @@ @Tag(name = "CountAPI") public class CountAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(CountAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CrosspointsAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CrosspointsAPI.java index 3cb90aa1f4..689df287b9 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CrosspointsAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CrosspointsAPI.java @@ -53,7 +53,7 @@ @Tag(name = "CrosspointsAPI") public class CrosspointsAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(CrosspointsAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedCrosspointsAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedCrosspointsAPI.java index 9bcc195b70..5af4a3cb22 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedCrosspointsAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedCrosspointsAPI.java @@ -62,7 +62,7 @@ @Tag(name = "CustomizedCrosspointsAPI") public class CustomizedCrosspointsAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(CustomizedCrosspointsAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedPathsAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedPathsAPI.java index 09c5e3a21c..3c1d9559a5 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedPathsAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedPathsAPI.java @@ -65,7 +65,7 @@ @Tag(name = "CustomizedPathsAPI") public class CustomizedPathsAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(CustomizedPathsAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/EdgesAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/EdgesAPI.java index 5d7adae8a3..a155b0e52c 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/EdgesAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/EdgesAPI.java @@ -56,7 +56,7 @@ @Tag(name = "EdgesAPI") public class EdgesAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(EdgesAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/FusiformSimilarityAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/FusiformSimilarityAPI.java index c8524caa28..6a34e9e6fd 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/FusiformSimilarityAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/FusiformSimilarityAPI.java @@ -57,7 +57,7 @@ @Tag(name = "FusiformSimilarityAPI") public class FusiformSimilarityAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(FusiformSimilarityAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/JaccardSimilarityAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/JaccardSimilarityAPI.java index 48ae1efd7e..fbe09c9a3c 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/JaccardSimilarityAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/JaccardSimilarityAPI.java @@ -61,7 +61,7 @@ @Tag(name = "JaccardSimilarityAPI") public class JaccardSimilarityAPI extends TraverserAPI { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(JaccardSimilarityAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/KneighborAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/KneighborAPI.java index 220dc5a5f1..71e85b5288 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/KneighborAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/KneighborAPI.java @@ -67,7 +67,7 @@ @Tag(name = "KneighborAPI") public class KneighborAPI extends TraverserAPI { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(KneighborAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/KoutAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/KoutAPI.java index 41d58a8fd8..ef315dd36a 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/KoutAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/KoutAPI.java @@ -68,7 +68,7 @@ @Tag(name = "KoutAPI") public class KoutAPI extends TraverserAPI { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(KoutAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/MultiNodeShortestPathAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/MultiNodeShortestPathAPI.java index 27b12639ea..f09da73854 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/MultiNodeShortestPathAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/MultiNodeShortestPathAPI.java @@ -56,7 +56,7 @@ @Tag(name = "MultiNodeShortestPathAPI") public class MultiNodeShortestPathAPI extends TraverserAPI { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(MultiNodeShortestPathAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/NeighborRankAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/NeighborRankAPI.java index 4f5ee9f887..d164db502e 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/NeighborRankAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/NeighborRankAPI.java @@ -57,7 +57,7 @@ @Tag(name = "NeighborRankAPI") public class NeighborRankAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(NeighborRankAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/PathsAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/PathsAPI.java index bb8573b705..fa87db58a2 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/PathsAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/PathsAPI.java @@ -66,7 +66,7 @@ @Tag(name = "PathsAPI") public class PathsAPI extends TraverserAPI { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(PathsAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/PersonalRankAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/PersonalRankAPI.java index 2f0564a61a..da74ef04bd 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/PersonalRankAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/PersonalRankAPI.java @@ -54,7 +54,7 @@ @Tag(name = "PersonalRankAPI") public class PersonalRankAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(PersonalRankAPI.class); private static final double DEFAULT_DIFF = 0.0001; private static final double DEFAULT_ALPHA = 0.85; diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/RaysAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/RaysAPI.java index cfaae4b295..321b4eb2c2 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/RaysAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/RaysAPI.java @@ -53,7 +53,7 @@ @Tag(name = "RaysAPI") public class RaysAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(RaysAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/RingsAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/RingsAPI.java index 77ebdd4ebf..0bb1cb0a5c 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/RingsAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/RingsAPI.java @@ -53,7 +53,7 @@ @Tag(name = "RingsAPI") public class RingsAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(RingsAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/SameNeighborsAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/SameNeighborsAPI.java index a4e723d89d..6d87ec1d07 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/SameNeighborsAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/SameNeighborsAPI.java @@ -53,7 +53,7 @@ @Tag(name = "SameNeighborsAPI") public class SameNeighborsAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(SameNeighborsAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/ShortestPathAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/ShortestPathAPI.java index 0ac5744af5..fbe6555f22 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/ShortestPathAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/ShortestPathAPI.java @@ -55,7 +55,7 @@ @Tag(name = "ShortestPathAPI") public class ShortestPathAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(ShortestPathAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/SingleSourceShortestPathAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/SingleSourceShortestPathAPI.java index c2bde29ba1..fd3ebd345d 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/SingleSourceShortestPathAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/SingleSourceShortestPathAPI.java @@ -57,7 +57,7 @@ @Tag(name = "SingleSourceShortestPathAPI") public class SingleSourceShortestPathAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(SingleSourceShortestPathAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/TemplatePathsAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/TemplatePathsAPI.java index f07ca12f22..b593aa0a7e 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/TemplatePathsAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/TemplatePathsAPI.java @@ -58,7 +58,7 @@ @Tag(name = "TemplatePathsAPI") public class TemplatePathsAPI extends TraverserAPI { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(TemplatePathsAPI.class); @POST @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/VerticesAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/VerticesAPI.java index 73a182aee2..d9c0b70782 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/VerticesAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/VerticesAPI.java @@ -56,7 +56,7 @@ @Tag(name = "VerticesAPI") public class VerticesAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(VerticesAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/WeightedShortestPathAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/WeightedShortestPathAPI.java index 646cec8b9f..4cdd1f2571 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/WeightedShortestPathAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/WeightedShortestPathAPI.java @@ -57,7 +57,7 @@ @Tag(name = "WeightedShortestPathAPI") public class WeightedShortestPathAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(WeightedShortestPathAPI.class); @GET @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/variables/VariablesAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/variables/VariablesAPI.java index db156a1d93..bacce9c4b9 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/variables/VariablesAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/variables/VariablesAPI.java @@ -50,7 +50,7 @@ @Tag(name = "VariablesAPI") public class VariablesAPI extends API { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(VariablesAPI.class); @PUT @Timed diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/auth/ContextGremlinServer.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/auth/ContextGremlinServer.java index 3aaf7a409b..0db3fdf925 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/auth/ContextGremlinServer.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/auth/ContextGremlinServer.java @@ -47,7 +47,7 @@ */ public class ContextGremlinServer extends GremlinServer { - private static final Logger LOG = Log.logger(GremlinServer.class); + private static final Logger LOG = Log.logger(ContextGremlinServer.class); private static final String G_PREFIX = "__g_"; diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/core/GraphManager.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/core/GraphManager.java index 83859a76e7..2ea3376b81 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/core/GraphManager.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/core/GraphManager.java @@ -76,7 +76,7 @@ public final class GraphManager { - private static final Logger LOG = Log.logger(RestServer.class); + private static final Logger LOG = Log.logger(GraphManager.class); private final String graphsDir; private final Map graphs; diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/license/LicenseVerifier.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/license/LicenseVerifier.java index e9fd7cebe9..c1fab55eee 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/license/LicenseVerifier.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/license/LicenseVerifier.java @@ -36,7 +36,7 @@ public class LicenseVerifier { - private static final Logger LOG = Log.logger(HugeGraph.class); + private static final Logger LOG = Log.logger(LicenseVerifier.class); private static final String LICENSE_PARAM_PATH = "/verify-license.json"; diff --git a/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraTable.java b/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraTable.java index f9d65fe0ff..a96fef04df 100644 --- a/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraTable.java +++ b/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraTable.java @@ -79,7 +79,7 @@ public abstract class CassandraTable extends BackendTable { - private static final Logger LOG = Log.logger(CassandraStore.class); + private static final Logger LOG = Log.logger(CassandraTable.class); private static final int MAX_ELEMENTS_IN_CLAUSE = 65535; public CassandraTable(String table) { diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/HugeFactory.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/HugeFactory.java index 80c1377a24..c74d8df86b 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/HugeFactory.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/HugeFactory.java @@ -43,7 +43,7 @@ public class HugeFactory { - private static final Logger LOG = Log.logger(HugeGraph.class); + private static final Logger LOG = Log.logger(HugeFactory.class); private static final Thread SHUT_DOWN_HOOK = new Thread(() -> { LOG.info("HugeGraph is shutting down"); diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/StandardHugeGraph.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/StandardHugeGraph.java index 72f8838899..5e2c23acf2 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/StandardHugeGraph.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/StandardHugeGraph.java @@ -136,7 +136,7 @@ public class StandardHugeGraph implements HugeGraph { CoreOptions.STORE ); - private static final Logger LOG = Log.logger(HugeGraph.class); + private static final Logger LOG = Log.logger(StandardHugeGraph.class); private volatile boolean started; private volatile boolean closed; diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/AbstractCache.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/AbstractCache.java index 3127f74cf5..b9a79864b4 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/AbstractCache.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/AbstractCache.java @@ -35,7 +35,7 @@ public abstract class AbstractCache implements Cache { public static final int DEFAULT_SIZE = 1 * MB; public static final int MAX_INIT_CAP = 100 * MB; - protected static final Logger LOG = Log.logger(Cache.class); + protected static final Logger LOG = Log.logger(AbstractCache.class); // The unit of expired time is ms private volatile long expire; diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CacheManager.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CacheManager.java index 7a88459b2b..8090815d54 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CacheManager.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CacheManager.java @@ -35,7 +35,7 @@ public class CacheManager { - private static final Logger LOG = Log.logger(Cache.class); + private static final Logger LOG = Log.logger(CacheManager.class); private static CacheManager INSTANCE = new CacheManager(); diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/id/SnowflakeIdGenerator.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/id/SnowflakeIdGenerator.java index 0c925ea549..b597e59e0e 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/id/SnowflakeIdGenerator.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/id/SnowflakeIdGenerator.java @@ -36,7 +36,7 @@ public class SnowflakeIdGenerator extends IdGenerator { - private static final Logger LOG = Log.logger(Id.class); + private static final Logger LOG = Log.logger(SnowflakeIdGenerator.class); private static final Map INSTANCES = new ConcurrentHashMap<>(); diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/AbstractBackendStoreProvider.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/AbstractBackendStoreProvider.java index ed01b378c4..71075a31d2 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/AbstractBackendStoreProvider.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/AbstractBackendStoreProvider.java @@ -40,7 +40,7 @@ public abstract class AbstractBackendStoreProvider implements BackendStoreProvider { - private static final Logger LOG = Log.logger(BackendStoreProvider.class); + private static final Logger LOG = Log.logger(AbstractBackendStoreProvider.class); private String graph = null; diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendStoreInfo.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendStoreInfo.java index a5daaa697a..86021301bb 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendStoreInfo.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendStoreInfo.java @@ -27,7 +27,7 @@ public class BackendStoreInfo { - private static final Logger LOG = Log.logger(HugeGraph.class); + private static final Logger LOG = Log.logger(BackendStoreInfo.class); private final BackendStoreProvider storeProvider; diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/AbstractTransaction.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/AbstractTransaction.java index db7d54eaca..1fb280719d 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/AbstractTransaction.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/AbstractTransaction.java @@ -53,7 +53,7 @@ public abstract class AbstractTransaction implements Transaction { - protected static final Logger LOG = Log.logger(Transaction.class); + protected static final Logger LOG = Log.logger(AbstractTransaction.class); private final Thread ownerThread = Thread.currentThread(); diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/job/computer/AbstractComputer.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/job/computer/AbstractComputer.java index d228105109..ca08ec9a38 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/job/computer/AbstractComputer.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/job/computer/AbstractComputer.java @@ -47,7 +47,7 @@ public abstract class AbstractComputer implements Computer { - private static final Logger LOG = Log.logger(Computer.class); + private static final Logger LOG = Log.logger(AbstractComputer.class); private static final String HADOOP_HOME = "HADOOP_HOME"; private static final String COMMON = "common"; diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/task/StandardTaskScheduler.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/task/StandardTaskScheduler.java index 3a27c13b5d..bdeb9fc22a 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/task/StandardTaskScheduler.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/task/StandardTaskScheduler.java @@ -69,7 +69,7 @@ public class StandardTaskScheduler implements TaskScheduler { - private static final Logger LOG = Log.logger(TaskScheduler.class); + private static final Logger LOG = Log.logger(StandardTaskScheduler.class); private final HugeGraphParams graph; private final ServerInfoManager serverManager; diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/task/TaskCallable.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/task/TaskCallable.java index 8cdaa98fb7..d439f1d566 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/task/TaskCallable.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/task/TaskCallable.java @@ -35,7 +35,7 @@ public abstract class TaskCallable implements Callable { - private static final Logger LOG = Log.logger(HugeTask.class); + private static final Logger LOG = Log.logger(TaskCallable.class); private static final String ERROR_COMMIT = "Failed to commit changes: "; private static final Set ERROR_MESSAGES = ImmutableSet.of( diff --git a/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlSessions.java b/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlSessions.java index 1bb0f24f74..83c689b14f 100644 --- a/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlSessions.java +++ b/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlSessions.java @@ -44,7 +44,7 @@ public class MysqlSessions extends BackendSessionPool { - private static final Logger LOG = Log.logger(MysqlStore.class); + private static final Logger LOG = Log.logger(MysqlSessions.class); private static final String JDBC_PREFIX = "jdbc:"; diff --git a/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlTable.java b/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlTable.java index c9ab719c21..2a06beab95 100644 --- a/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlTable.java +++ b/hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlTable.java @@ -59,7 +59,7 @@ public abstract class MysqlTable extends BackendTable { - private static final Logger LOG = Log.logger(MysqlStore.class); + private static final Logger LOG = Log.logger(MysqlTable.class); private static final String DECIMAL = "DECIMAL"; diff --git a/hugegraph-palo/src/main/java/com/baidu/hugegraph/backend/store/palo/PaloSessions.java b/hugegraph-palo/src/main/java/com/baidu/hugegraph/backend/store/palo/PaloSessions.java index 905b1bb6d8..5a021d95c2 100644 --- a/hugegraph-palo/src/main/java/com/baidu/hugegraph/backend/store/palo/PaloSessions.java +++ b/hugegraph-palo/src/main/java/com/baidu/hugegraph/backend/store/palo/PaloSessions.java @@ -49,7 +49,7 @@ public class PaloSessions extends MysqlSessions { - private static final Logger LOG = Log.logger(PaloStore.class); + private static final Logger LOG = Log.logger(PaloSessions.class); private final AtomicInteger counter; private final Map locks; diff --git a/hugegraph-palo/src/main/java/com/baidu/hugegraph/backend/store/palo/PaloTable.java b/hugegraph-palo/src/main/java/com/baidu/hugegraph/backend/store/palo/PaloTable.java index d30e334868..6a75589930 100644 --- a/hugegraph-palo/src/main/java/com/baidu/hugegraph/backend/store/palo/PaloTable.java +++ b/hugegraph-palo/src/main/java/com/baidu/hugegraph/backend/store/palo/PaloTable.java @@ -39,7 +39,7 @@ public abstract class PaloTable extends MysqlTable { - private static final Logger LOG = Log.logger(MysqlStore.class); + private static final Logger LOG = Log.logger(PaloTable.class); public PaloTable(String table) { super(table); diff --git a/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlSessions.java b/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlSessions.java index 35cad1a58b..448c07fa4b 100644 --- a/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlSessions.java +++ b/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlSessions.java @@ -38,7 +38,7 @@ public class PostgresqlSessions extends MysqlSessions { - private static final Logger LOG = Log.logger(MysqlStore.class); + private static final Logger LOG = Log.logger(PostgresqlSessions.class); private static final String COCKROACH_DB_CREATE = "CREATE DATABASE %s ENCODING='UTF-8'"; diff --git a/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlStoreProvider.java b/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlStoreProvider.java index 9028665810..13c40b817b 100644 --- a/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlStoreProvider.java +++ b/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlStoreProvider.java @@ -38,7 +38,7 @@ public class PostgresqlStoreProvider extends MysqlStoreProvider { - private static final Logger LOG = Log.logger(PostgresqlStore.class); + private static final Logger LOG = Log.logger(PostgresqlStoreProvider.class); @Override protected BackendStore newSchemaStore(HugeConfig config, String store) { diff --git a/hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBTable.java b/hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBTable.java index 48c9a1af1a..e87316b8ec 100644 --- a/hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBTable.java +++ b/hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBTable.java @@ -59,7 +59,7 @@ public class RocksDBTable extends BackendTable { - private static final Logger LOG = Log.logger(RocksDBStore.class); + private static final Logger LOG = Log.logger(RocksDBTable.class); private final RocksDBShardSplitter shardSplitter; diff --git a/hugegraph-test/src/main/java/com/baidu/hugegraph/core/CoreTestSuite.java b/hugegraph-test/src/main/java/com/baidu/hugegraph/core/CoreTestSuite.java index 509cdf814a..f08302f3ed 100644 --- a/hugegraph-test/src/main/java/com/baidu/hugegraph/core/CoreTestSuite.java +++ b/hugegraph-test/src/main/java/com/baidu/hugegraph/core/CoreTestSuite.java @@ -53,7 +53,7 @@ }) public class CoreTestSuite { - private static final Logger LOG = Log.logger(BaseCoreTest.class); + private static final Logger LOG = Log.logger(CoreTestSuite.class); private static HugeGraph graph = null;