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. Configuring Log4j Loggers Programmatically - Stack Overflow

    Jan 23, 2012 · I am trying to use SLF4J (with log4j binding) for the first time. I would like to configure 3 different named Loggers that can be returned by a LoggerFactory which will log different levels and pu...

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

    Jan 2, 2017 · 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 the closest I …

  5. 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

  6. 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...

  7. log4j logging hierarchy order - Stack Overflow

    May 28, 2017 · What is the hierarchy of log4j logging? DEBUG INFO WARN ERROR FATAL Which one provides the highest logging which would be helpful to troubleshoot issues? Can any one provide the …

  8. 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 …

  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. Are there technical reasons to prefer using logback instead of log4j?

    Dec 16, 2021 · Should new projects use logback instead of log4j as a logging framework ? Or with other words :'Is logback better than log4j (leaving the SLF4J-'feature' of logback beside)?'