Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3949

Standard out logging broken: messages only routing to stderr and appear as a raw template

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.11.1.7
    • Fix Version/s: 2.11.2, 2.11.2.0
    • Labels:
      None
    • Environment:
      Best seen using shadowJar on command line.
    • Urgency:
      Urgent

      Description

      Since upgrading to log4j 2.16 and then 2.17, using the log4j 1 compatibility bridge for minimal re-coding, most/all Cache.log messaging is coming out on stderr, and only as (presumably the default template):
      %d [%thread] %-5level %logger - %msg%n

      It appears that INFO messages are appearing on the command line and in the Java Console, but DEBUG (or other) log levels are appearing as the template on STDERR and not at all in the Java Console.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              soares Ben Soares
              Reporter:
              soares Ben Soares
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: