log4j is a popular Java-based logging utility. It is a project of the Apache Software Foundation and is licensed under The Apache Software License, Version 2.0
9,393 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
Corda log to console/standard out
Can't seem to get Corda nodes to log to their console/shell(?) while they are running. Originally used System.out.println which did log, but the output gets messed up which is making me think the ... java log4j corda
Kiith Nabaal
- 358
ServletContainerInitializer ignored by Tomee because of jar name and web-fragment "ordering"
The library I'm maintaining contains a implementation of ServletContainerInitializer which is declared in META-INF/services/javax.servlet.ServletContainerInitializer file. This library is used by web ... java tomcat log4j apache-tomee web-fragment
Simon Hill
- 11
PropertyConfigurator.configure() method in log4j1.x is causing problem in magration to log4j2.X
we are migrating from log4j 1.x to log4j2.x. during migration we are facing an issue with PropertyConfigurator.configure() method is not available in log4j2.x. what will be the alternative way to ... java logging log4j log4j2
swapnil dahule
- 21
Log4j vulnerability while using Scala and Spark with sbt
I am working on a scala spark project. I am using below dependencies: libraryDependencies ++= Seq( "org.apache.spark" %% "spark-core" % "2.2.0" , "... scala apache-spark sbt log4j
Sangeeta
- 471
How to display Just D, I, E, F instead of DEBUG, INFO, ERRO, FATAL in log4j
we are trying to optimize the size of files generated by log4j2. So I was thinking if we can reduce the number of characters that get printed on the final .log file. Below is thecurrent pattern layout ... log4j
chen
- 400
How to upgrade log4j in 3rd party jar used as dependency in project pom?
We use jericho 3.3 that has log4j 1.2.17 as transitive dependency. We plan to upgrade to 2.17.1 for all 3rd party as well as direct dependencies. Jericho 3.4 the latest has log4j api 2.4, how can we ... log4j eclipse-rcp pom.xml log4j2 jericho-html-parser
Sudipto Saha
- 11
log4j datestamp is 1 day behind
Here is the corresponding RollingFileAppender. We are running Log4j 2. <RollingFile name="file" fileName="appLog" filePattern="appLog.%d{yyyyMMdd}.%i" append="... xml log4j log4j2
uniqueuser-programmer
- 41
Can I use log4j.properties file name instead of log4j2.properties in log4j version 2 in spring?
I have a spring application which uses latest version of log4j2 (ie. log4j 2.17.2). Generally, we use log4j2.properties file for logging configuration. But my requirement is to use the old name "... java spring log4j log4j2
Ravi Kumar B
- 1,393
My logger don't write into my log (Log4j)
I try to setup Log4J for my project, i use my code Logger.Debug, but it not writing into log. Log4J.xml : <appender name="file"> ... logging jboss log4j
tuniodu33
- 5
Jmeter ServerAgent cannot run, some problem of log4j
windows10 jmeter5.4.3 Server Agent2.2.3 When I use .\startAgent.bat, there will be: log4j:WARN No appenders could be found for logger (kg.apc.perfmon.PerfMonWorker).log4j:WARN Please initialize the ... java jmeter log4j jmeter-plugins
user19330066
- 1
system property not replaced with the date and time for new log4j log filename for every run
I have the below lines as part of log4j.properties file. property.filename=logs appenders=file appender.file.type=File appender.file.name=LOGFILE appender.file.fileName=${filename}/propertieslogs_${... log4j
saran
- 115
How to exclude package from the jar which is native?
I'm using avro-tools 1.9.2 in my project and due to some reason can't even update it. I see that avro-tools 1.9.2 using the old log4 1.x API natively (its not a transitive dependency instead its ... log4j log4j2 avro
PAA
- 9,343
Is slf4j 2.0.0-alpha7 compatible with log4j 2.17.2?
My problem is extremely similar to the one outlined in this post (it is unanswered): Is SLF4jJ 1.8.0-alpha2 compatible with Log4j 2.8.2. I am trying to upgrade from slf4j 1.7.36 to 2.0.0-alpha7. ... log4j slf4j
ConfusedUbuntist
- 63
Cannot get log4j.properties to work with Gradle project in IntelliJ
I am building a Gradle-based Java project using IntelliJ as my IDE. I can output log information to my console, as long as it is outputted to INFO. WARN and ERROR also seems to work by default. ... ... java log4j
Kurtiss
- 395
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger
I am using custom log4j2 library - corporate library, company specific, I created fat jar out of maven project and trying to run the code commandline java -jar "target\abc-0.0.1-SNAPSHOT.jar"... java log4j log4j2
Jeff Cook
- 6,694
153050per page