Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-704

Change the version of the used log4j lib / Magnolia, logging and logstash

    XMLWordPrintable

Details

    • Pain point
    • Resolution: Done
    • Critical
    • None
    • None
    • None
    • None
    • Yes

    Description

      As you describing in the Docu Magnolia uses log4j for logging. As I can see after building the WAR file the exact version is log4j-1.2.17.
      Furthermore, another dependency to slf4j is resolved - the exact versions are slf4j-api-1.7.7 and slf4j-log4j12-1.7.7.

      Without looking into the code I'm wondering...

      1. why you have the dependency to slf4j when you only want to use log4j?
      2. if from your perspective it would be possible to change the the log4j version to something like 2.x?

      I'm asking since we are doing some experiments regarding Magnolia logging directly to logstash without having the step in between of writing files to the disk.
      Are there maybe any hints you could provide?

      Thank you very much

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkoch marcel koch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: