About 50 results
Open links in new tab
  1. How to initialize log4j properly? - Stack Overflow

    315 After adding log4j to my application I get the following output every time I execute my application: log4j:WARN No appenders could be found for logger (slideselector.facedata.FaceDataParser). …

  2. Where should I put the log4j.properties file? - Stack Overflow

    Sep 28, 2009 · I wrote a web service project using netbeans 6.7.1 with glassfish v2.1, put log4j.properties to the root dir of project and use: static Logger logger = …

  3. updating log4j version 1.2 version to 2.16.0 or later

    May 29, 2023 · How do I update the log4j version from 1.2 to 2.16 or higher? This is what I have in my pom.xml file right now (using maven) for job4j-api and job4j-core but nothing for just job4j

  4. java - Where is the correct location to put Log4j.properties in an ...

    Feb 22, 2011 · 12 Add the log4j.properties file to the runtime class path of the project. Some people add this to the root of the source tree (so that it gets copied to the root of the compiled classes). Edit: If …

  5. Log4j vulnerability - Is Log4j 1.2.17 vulnerable (was unable to find ...

    Jan 2, 2017 · 63 With regard to the Log4j JNDI remote code execution vulnerability that has been identified CVE-2021-44228 - (also see references) - I wondered if Log4j-v1.2 is also impacted, but …

  6. Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl ...

    Jan 7, 2020 · Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-to-slf4j Asked 6 years, 3 months ago Modified 4 years, 2 months ago Viewed 186k times

  7. How can I check if my Java project uses Log4j and which version?

    Dec 13, 2021 · Due to the Log4Shell vulnerability I would like to search and find out if my Java project is implementing Log4j directly or by dependencies, and which version. I have, for example, projects …

  8. java - Change location of log4j.properties - Stack Overflow

    Sep 12, 2011 · I want to put all my config files in a /config subfolder of my application directory. Log4j is expecting the log4j.properties file in the root folder of my application. Is there a way to tell log4j...

  9. java - Dynamically Changing log4j log level - Stack Overflow

    Jan 4, 2011 · What are the different approaches for changing the log4j log level dynamically, so that I will not have to redeploy the application. Will the changes be permanent in those cases?

  10. java - Log4j Latest version with slf4j-log4j12 - Stack Overflow

    Jan 11, 2022 · As the name already indicates slf4j-log4j12 contains log4j v1.2. Redirecting slf4j API to log4j is uncommon, therefore I recommend you to instead use slf4j + logback and the redirect the …