Closed gordor4 closed 3 years ago
if anyone face this problem too. Slows down getCanonicalHost name with IPv6 addresses. This is Java spoofing security process. For local development you can use JVM param -Djava.net.preferIPv4Stack=true
If you are running JDK 8 less than u113 there was a known JDK bug that also caused slow lookups. Adding an entry to /etc/hosts for your hostname and 127.0.0.1 fixes that issue
The observed delay is very likely caused by the DNS reverse lookup. Check out https://logging.paluch.biz/hostname-lookup.html for options to provide the hostname through the environment.
The observed delay is very likely caused by the DNS reverse lookup. Check out https://logging.paluch.biz/hostname-lookup.html for options to provide the hostname through the environment.
Thanks
Hello! I'm using log4j2 with xml config
Application without gelf logging starting about 2 seconds, but with additional gelf appender more that 40 sec. Is this is normal start time or I can boost it?