Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-125

Logging to stdout/stderr, missing IDs for messages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • MP Metrics
    • None

      This is related to WFWIP-124 where I noticed different logging format ++ output to stdout/stderr.

      Example:

      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)
      

      Logging have to be unified and go via jboss-logging, also IDs for messages are needed.

              jmesnil1@redhat.com Jeff Mesnil
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: