ctubbsii commented on code in PR #6191:
URL: https://github.com/apache/accumulo/pull/6191#discussion_r2907950871


##########
assemble/conf/log4j2-service.properties:
##########
@@ -32,7 +32,7 @@ appender.console.type = Console
 appender.console.name = STDERR
 appender.console.target = SYSTEM_ERR
 appender.console.layout.type = PatternLayout
-appender.console.layout.pattern = %d{ISO8601} [%-8c{2}] %-5p: %m%n
+appender.console.layout.pattern = %d{ISO8601} [%T;%t] [%-8c{2}] %-5p: %m%n

Review Comment:
   I agree these could get large and noisy. For the test files, I don't think 
that's a problem. We can just use the Thread ID for the non-test sample files. 
Users can do whatever they like.
   
   Here's an example of the the logs with the modified thread name you 
mentioned:
   ```
   2026-03-09T17:00:39,590 [76;Root Tablet Assignment] [tablet.location] DEBUG: 
Loaded +r<< on localhost:37183[100005ae10a0006]
   2026-03-09T17:00:39,595 [76;Root Tablet Assignment] 
[tserver.TabletClientHandler] INFO : Root tablet loaded: +r<<
   2026-03-09T17:00:39,601 [62;tserver] [clientImpl.ThriftTransportPool] DEBUG: 
Set thrift transport pool idle time to 120000ms
   2026-03-09T17:00:39,617 [87;accumulo.pool.tabletserver.client-Worker-5] 
[conf.ConfigurationTypeHelper] DEBUG: Loaded class : 
org.apache.accumulo.core.spi.compaction.SimpleCompactionDispatcher
   2026-03-09T17:00:39,887 [90;User: !SYSTEM Start: 1773090039823 Client: 
10.113.15.142:60632 Tablet: +r<<] [bcfile.CompressionAlgorithm] INFO : Trying 
to load codec class org.apache.hadoop.io.compress.DefaultCodec
   2026-03-09T17:00:39,987 [95;accumulo.pool.tabletserver.client-Worker-13] 
[constraints.ConstraintChecker] DEBUG: Loaded constraint 
org.apache.accumulo.server.constraints.MetadataConstraints for +r
   2026-03-09T17:00:39,990 [96;accumulo.pool.tserver.wal.creator-Worker-1] 
[log.TabletServerLogger] DEBUG: Creating next WAL 
   2026-03-09T17:00:39,991 [96;accumulo.pool.tserver.wal.creator-Worker-1] 
[log.DfsLogger] DEBUG: Address is localhost:37183
   2026-03-09T17:00:39,991 [96;accumulo.pool.tserver.wal.creator-Worker-1] 
[log.DfsLogger] DEBUG: DfsLogger.open() begin
   2026-03-09T17:00:39,992 [96;accumulo.pool.tserver.wal.creator-Worker-1] 
[fs.VolumeManagerImpl] DEBUG: creating 
file:/home/christopher/git/apache/accumulo/accumulo/test/target/mini-tests/org.apache.accumulo.test.functional.ReadWriteIT_largeTest/accumulo/wal/localhost+37183/2a581917-4bb0-498e-9c1e-6e8420bc8a5c
 with CreateFlag set: [CREATE, SYNC_BLOCK] 
   2026-03-09T17:00:40,025 [96;accumulo.pool.tserver.wal.creator-Worker-1] 
[log.DfsLogger] DEBUG: setDropBehind writes not enabled for wal file: 
FSDataOutputStream{wrappedStream=org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer@183759da}
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to