[jboss-jira] [JBoss JIRA] (WFWIP-125) Logging to stdout/stderr, missing IDs for messages

Rostislav Svoboda (Jira) issues at jboss.org
Tue Nov 6 08:43:01 EST 2018


    [ https://issues.jboss.org/browse/WFWIP-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657203#comment-13657203 ] 

Rostislav Svoboda commented on WFWIP-125:
-----------------------------------------

Compiled finally.

{code}
14:39:31,274 INFO  [org.wildfly.extension.microprofile.metrics.smallrye] (ServerService Thread Pool -- 60) WFLYMETRICS0001: Activating Eclipse MicroProfile Metrics Subsystem
...
14:39:31,295 INFO  [io.smallrye.metrics] (MSC service thread 1-4) Converted [2] config entries and added [4] replacements
14:39:31,299 INFO  [io.smallrye.metrics] (MSC service thread 1-4) Converted [3] config entries and added [18] replacements
{code}

IDs for io.smallrye.metrics messages are probably out of scope

> Logging to stdout/stderr, missing IDs for messages
> --------------------------------------------------
>
>                 Key: WFWIP-125
>                 URL: https://issues.jboss.org/browse/WFWIP-125
>             Project: WildFly WIP
>          Issue Type: Bug
>          Components: MP Metrics
>            Reporter: Rostislav Svoboda
>            Assignee: Jeff Mesnil
>            Priority: Blocker
>
> This is related to WFWIP-124 where I noticed different logging format ++ output to stdout/stderr.
> Example:
> {code}
> 15:38:10,712 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
> 15:38:10,712 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
> 15:38:10,712 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 15.0.0.Alpha1-SNAPSHOT (WildFly Core 7.0.0.Alpha2) started in 4266ms - Started 309 of 530 services (321 services are lazy, passive or on-demand)
> 15:38:26,657 INFO  [stdout] (management I/O-2) metricName = /socket-binding-group/standard-sockets/socket-binding/management-http.bound-address
> 15:38:26,661 ERROR [stderr] (management I/O-2) java.lang.NumberFormatException: multiple points
> 15:38:26,662 ERROR [stderr] (management I/O-2) 	at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1914)
> 15:38:26,662 ERROR [stderr] (management I/O-2) 	at java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
> 15:38:26,662 ERROR [stderr] (management I/O-2) 	at java.base/java.lang.Double.parseDouble(Double.java:543)
> {code}
> Logging have to be unified and go via jboss-logging, also IDs for messages are needed.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list