9,603 questions
0
votes
1
answer
34
views
Log4j2 annotation processor not run in Eclipse when start Java application with Eclipse run configuration
I have a Java desktop application project (Java 21, Gradle 8.5 with Groovy DSL, Log4j v2.22.1, Eclipse 2025-09, Eclipse Buildship 3.1.10).
Log4j shall NOT use classpath scanning for custom appenders ...
0
votes
0
answers
55
views
Cloudhub 2.0 Ingress Timeout when forwarding Logs
We have a mule application and we are trying to load test the application with 8K records. It's a simple application that gets the request, sends its to GCP to fetch a value and then provide that ...
0
votes
1
answer
70
views
How to use slf4j-api > 2 in jersey servlet container
I have a Jersey servlet project, where I organize the depencies with maven. It runs in Tomcat.
Update of slf4j-api
Now I am trying to use <artifactId>slf4j-api</artifactId><version>2....
-1
votes
1
answer
61
views
Log4j vulnerability servers [closed]
We have 2 servers that are not directly connected to the internet and need accessing via VPN. They mainly hold SharePoint 2013 and there is an important process running on this that we would like to ...
0
votes
0
answers
45
views
Log4j Upgrade v1 to v2 - Default SysLog Behavior
Working on a legacy code base that literally no one left at the company has done anything more than put band-aids on in my time there.
For various reasons we are finally being forced to upgrade log4j ...
1
vote
0
answers
24
views
How to have log4j JSONLayout stacktraceAsString "thrown" object exclude its "cause" object as it duplicates content in "extendedStackTrace" string
I would like to have the exception logged in a format that tools understand. This can be achieved by
<Console name="Console" follow="true">
<JSONLayout eventEol=...
0
votes
0
answers
80
views
Install4j - generated executable after installing my app fails because of missing class
I am trying to create an installer for my Java 17 / Spring Boot 2.7.17 / Maven application.
I have managed to make it work for some time, the installer worked as expected and my app was being launched ...
0
votes
1
answer
59
views
How does log4j clean up actually works in hive metastore?
I am trying to configure logs for hive metastore. I use this config:
status = INFO
name = HiveLog4j2
packages = org.apache.hadoop.hive.ql.log
property.hive.log.level = INFO
property.hive.root.logger =...
0
votes
1
answer
54
views
Java Exception on CryptoProviderTools.installBCProvider() instruction using log4j2
I have a java web project which includes lo4j2. It is deploy on tomcat instance locally on my PC.
I was debugging the java project. When debugger is on the instruction of Certificate class contructor ...
1
vote
2
answers
202
views
Unable to package Log4j2 in maven project
This was my original pom.xml file I started with:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=&...
-1
votes
1
answer
122
views
How to Mitigate Apache Log4j RCE (Log4Shell) Vulnerability in WSO2 Manager (Ports 9021, 8243, 8021)? version wso2am-4.0.0
I'm working with WSO2 Manager, and I've encountered a Remote Code Execution (RCE) vulnerability in Apache Log4j (Log4Shell) that affects multiple ports on the system (9021, 8243, and 8021). During an ...
-1
votes
1
answer
57
views
How to use policies on dynamic log file name?
I'm using Log4j2 and I need my logs to:
Include the current date and process idin the active log file name (e.g., logname.529628.27-04-2025.log)
create new log based on file size (for example, every ...
0
votes
2
answers
119
views
How can I dynamically choose a Log4j2 appender at runtime using only a shell script?
I have a Java application that uses Log4j2 for logging. I want to control which appender is used at runtime—but only via a shell script, without modifying the Java source code.
My log4j2.xml ...
0
votes
0
answers
33
views
What is the log4j.xml edits to either remove or to modify the out-of-the-box rolling appender for Pentaho 8.3 CE?
I have a fresh install of pdi-ce-8.3.0.0-371 on a RedHat LINUX server.
The default log4j.xml file resides in the classpath at: ./data-integration/classes/log4j.xml
We're using: Java - openjdk version &...
1
vote
1
answer
146
views
How do I configure Tomcat to send access log to syslog-ng server on another host?
I have configured a Tomcat server (currently version 8.5.x) to use log4j2 to send some logging to a syslog-ng server using the following log4j.xml file:
<?xml version="1.0" encoding="...