Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1825

Log4j2 throwing an error in Windows bash console

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8.1
    • Component/s: Appenders
    • Labels:
      None
    • Environment:

      Windows 7 (at least)

      Description

      Good morning,

      using log4j2 in my project (see below the configuration) running it, everything went ok in Eclipse. Then building the jar and executing it in a bash Windows, I get an error thrown regarding the "Console Appender". After investigation, it works in other shells (like git bash), my question here is about if this behavior is documented somewhere ?(because after googling it a lot, I did not find anything relevant).

      See the attached files for the properties file and the stacktrace as Jira does not handle well (or I don't know how) the formatting of code

        Attachments

        1. log4j2.properties
          2 kB
          Adonis Settouf
        2. ms-dos-stacktrace
          5 kB
          Adonis Settouf

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Adonis Adonis Settouf
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: