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
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
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
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
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
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
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
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
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
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
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
I'm having issues getting Jersey 1.19 to work with log4j2 on Tomcat7. My project's working assembly against log4j1 consists of the following: slf4j-api: 1.5.6
I'm using log4j2 in my application. What I want is everything up to 'debug' to go to console, everything up to 'info' to go to myapp.log, and ONLY 'info' to go
Trying to get log4j2 section form values.yml using toYaml but it does not retain the order. log4j2.yml: |- {{ toYaml .Values.log4j2 | indent 4 }} output- log4j
we have a standalone java project using log4j for logging,and we don't config log4j via the classpath configuration. we config it in my code as bellow: String
I have an OSGi application (Eclipse plugin) that contains several bundles. I have a com.domain.dependencies bundle that, as the name suggests, contains dependen
How to Override log4j version 1.2.17 with log4j-core 2.16.0 version to resolve "SocketServer class vulnerable to deserialization" for spark-core_2.12 binaries.
We are building an app based on Red Hat JBoss AMQ 6. We wrap some Java code around the base image to provide extra functionalities which are lacking in AMQ 6. N
I've recently had issues with my Liferay/Tomcat logs getting clogged up from several portlets logging to the same files, which makes it tough to track down issu
I'd like to setup my log4j.xml file to log specific classes/packages at DEBUG level and the rest at ERROR level. As you can see below I updated the logging lev