Missing square brackets for IPv6 addresses in log file
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Issue
-
When IPv6 addresses are used, sometimes the square brackets
[ ]seems missing in log files -
We use IPv6 addresses with HTTPS enabled, brackets are removed in the log files for these IPv6 addressses, for example:
12:05:56,328 INFO [org.jboss.as] (Controller Boot Thread) JBAS015962: Http management interface listening on https://::1:9443/management 12:05:56,330 INFO [org.jboss.as] (Controller Boot Thread) JBAS015952: Admin console listening on https://::1:9443
Resolution
There are three bugs related: This content is not included.Wrong format of IPv6 addresses in log entries , This content is not included.Wrong format of IPv6 addresses in log entries if https is used and This content is not included.Inconsistent format for IPv6 addresses in server log.
This content is not included.Wrong format of IPv6 addresses in log entries is fixed in EAP 6.4.0.
From EAP 6.4.0 onwards, the issue only happens to IPv6 addresses with HTTPS enabled.
This content is not included.Wrong format of IPv6 addresses in log entries if https is used and This content is not included.Inconsistent format for IPv6 addresses in server log are planned for EAP 6.4 CP07 (6.4.7) to address the inconsistent log format when HTTPS is enabled.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.