question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing log placeholder for "-Dio.netty.allocator.useCacheForAllThreads" (io.netty.buffer.PooledByteBufAllocator)

See original GitHub issue

netty start log SHOULD output: -Dio.netty.allocator.useCacheForAllThreads true/false

BUT now start log output: -Dio.netty.allocator.useCacheForAllThreads, missing actual value

start any netty server or client with LOG Level : DEBUG

2017-01-23 7 48 12

netty-all-4.1.7.Final

JDK: java version “1.8.0_102”

OS: Linux XXX 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23 17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Now code is:

logger.debug("-Dio.netty.allocator.useCacheForAllThreads", DEFAULT_USE_CACHE_FOR_ALL_THREADS); Would PooledByteBufAllocator LOG code be better to code like this?

logger.debug("-Dio.netty.allocator.useCacheForAllThreads: {}", DEFAULT_USE_CACHE_FOR_ALL_THREADS);

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
jasontedorcommented, Jan 23, 2017

In Elasticsearch we use a logger checker to ensure that this never happens; we fail the build if the placeholders do not match the arguments.

0reactions
normanmaurercommented, Jan 25, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

PooledByteBufAllocator xref - Netty
InternalLogger; 30 import io.netty.util.internal.logging.InternalLoggerFactory; 31 32 import java.nio.ByteBuffer; 33 import java.util.
Read more >
Memory leak/issue of the object io.netty.buffer ... - Stack Overflow
When We took heap dump for analysis We found that object io.netty.buffer.PooledByteBufAllocator is occupying more space we suspect leak here.
Read more >
Can't create a TCP/SSL connection - Google Groups
Hi all, I can't seem to make an TCP/TCL connection with NetClient. I need to get e-mail notification with a big range of...
Read more >
reactor/reactor-netty - Gitter
I'm currently using Spring WebFlux and with logging.level.reactor.netty.http.client.HttpClient = DEBUG in application.properties and wiretap enabled (see code ...
Read more >
WhatsNew 1.6 | Ktor Framework
Netty's I/O operation failed debug message is logged ... HttpCookies: no space between cookie pairs.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found