You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ddanielr (via GitHub)" <gi...@apache.org> on 2023/09/14 16:14:55 UTC

[GitHub] [accumulo] ddanielr commented on a diff in pull request #3745: Add Message Prefix for File deletion actions in GCRun

ddanielr commented on code in PR #3745:
URL: https://github.com/apache/accumulo/pull/3745#discussion_r1326205339


##########
server/gc/src/main/java/org/apache/accumulo/gc/GCRun.java:
##########
@@ -97,7 +98,8 @@ public class GCRun implements GarbageCollectionEnvironment {
   private long errors = 0;
 
   public GCRun(Ample.DataLevel level, ServerContext context) {
-    this.log = LoggerFactory.getLogger(level.name() + GCRun.class);
+    this.log = LoggerFactory.getLogger(GCRun.class.getName() + level.name());

Review Comment:
   I modified my change to only include a log message prefix for the file actions. 
   This keeps the default logger and allows users to select these logging messages via log4j or other manual means (tee + sed, grep, etc.)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org