Category "log4j"

SoapUI specify alternate logdir as a property defined on the command line

I'm upgrading from SoapUI 5.4.0 to 5.7.0 and trying to put the log files in a specific directory. Note: The alternate error logs directory was working prior to

confluentinc/cp-kafka docker log4j warnings

docker pull confluentinc/cp-kafka I use this code to pull the kafka image. Then, use the following to start the containers. docker run --rm -d --name kafka-se

log4j JsonTemplateLayout doesn't work when jar file built by shadowJar

I use shadowJar I use log4j2 and I need to log everything in json format. But once I add 'org.apache.logging.log4j:log4j-layout-template-json:2.17.1' into build

I am going to use log4j version 2.3.2 . is it safe for me? [closed]

I want to use log4j library for my web app that is created with Java 6. Which version is safe for me ? Do you recommend log4j or log4j2 consid

ActiveMQ crashes after upgrading to Log4j 2

I am facing issue while starting ActiveMQ 5.14.3 after upgrading from Log4j 1.2.17 to Log4j 2.17.1. Replaced log4j-1.2.17 with log4j-1.2-api-2.17.1.jar, log4j-a

log4j: java.lang.ClassCastException: com.ibm.ejs.jms.JMSTopicConnectionFactoryHandle incompatible with javax.jms.TopicConnectionFactory on WebSphere 9

I'm having some struggles getting a Java web-application running on IBM WebSphere Application Server 9.0.5.5 sending messages to an IBM MQ topic using log4j 1.2

Make Log4J2 Async Logger library log messages whenever it drops any log event

I am working on enabling Async logger with our service. We have observed that whenever there is an excessive logging, async logger starts blocking application t

Remove old log4j dependency from Grails

After having some problems to update log4j in a Grails 2.4 project (which I don't think I have accomplised yet, btw) Update log4j in Grails 2.4 results in "Coul

fix for log4j vulnerability (CVE-2021-44228) for Apache storm?

There is no version of apache storm which doesn't use log4j 2.x version (which is affected by CVE-2021-44228 vulnerability). I found this fix on log4j website:y

Kafka broker fails inside Docker container without meaningful logs

When I launch Docker container with Kafka broker it fails sometimes, but I can't understand by logs what exactly happens, logs always are: # docker-compose up b

Why Log4j2 Doesn't Log Before System.exit(1)

When I use System.exit(1) after logging an error via Log4j2, the system close but the log doesn't be written at log files. In normal situations without using Sy

Multiple issues in Log4J Upgrade for old Java Servlet ( Struts ) based application

Current Situation Java Application development version: a Struts based GUI application developed in Java 1.5 JDK used for Compilation: 1.7 Tomcat Server: Applic

Log4j 2: How to enable ANSI colours on Windows console?

I try to use Windows 10 command line to print colored messages on console, but with no success. According to the Log4j 2 documentation, I should add the Jansi j

Does Log4J2 have an equivalent of Log4J's Renderers?

I'm working in a Java solution that is using log4j 2.11 as its logging framework. I'm also using a library that uses a particular POJO extremely frequently. I w

log4j not creating log files

Below is the log4j.properties file which i have used in a project to generate logs. But the logs are not getting generated at the mentioned location. log4j.r

java.lang.ClassNotFoundException: org.apache.logging.log4j.Logger after updating log4j 1.2.17 to 2.13.0

I am running Tomcat v9.0 server on a Java Eclipse project. Each time I run my application on the server I get this Problem Occured message: Server Tomcat v

Tomcat catalina logging

I am using SpringMVC framework and Java 8 for development. In the Tomcat catalina.out file, the date timestamp and threadid are not added along with my applicat

MapUtils with Logger

I am using MapUtils.verbosePrint(System.out, "", map) to dump the contents of a map in Java. They (management) do not like us using System.out.println(). We ar

Spring Boot multiple log4j appenders in application.yml file

I need 2 different logging patterns in my SpringBoot application. let's say: first_pattern -- for root logger (INFO level) second_pattern -- for packages com.s

Why log4j stop running MDC logic if Java version is 11, 11.1x, etc

I use MDC for helping log4j loging more information. Everything works well until I updated java version to 11. This is my log4j config (pseodo code) log4j.appen