Questions tagged as 'log4j'

1
answer

Log4j - Create several logs but write randomly in only one when using parallel execution

The problem I have is that when using Log4j during a parallel execution of several processes, this creates a log for each of the processes, but writes all the output in one of them randomly. It is written in groovy. This is my .properties...
asked by 22.06.2016 / 12:28
1
answer

ERROR: log4j.appender.DEBUG

Hi, I thank you for your help with the following case: Trying to enable the DEBUG level in rootCategory, like this: log4j.rootCategory=INFO,CONSOLE,DEBUG Uploading the tomcat 7 server produces the following error: log4j:ERROR Could not...
asked by 07.11.2016 / 17:23
0
answers

log4j: WARN Failed to set property [rollingPolicy] to value "org.apache.log4j.rolling.TimeBasedRollingPolicy"

I'm trying to set up a rotating log. I am using log4j-1.2.17.jar and apache-log4j-extras-1.2.17.jar. My configuration in the log4j.properties file is as follows: log4j.appender.LOG_CRON_BATCH=org.apache.log4j.rolling.RollingFileAppender log...
asked by 06.07.2018 / 12:08
2
answers

Create new logger in Wildfly 10 using log4j

I need to log certain modules in an app in a log different from server.log , initially I try to do it with a java project and its log4j2.xml file which works very well on another application server other than wildfly as weblogic. R...
asked by 01.08.2017 / 16:16
0
answers

Configure log4j 2 and write to .log file

You will see, I have a web app that runs on tomcat 8.5.34, I have configured log4j as follows:  log4j.xml <?xml version="1.0" encoding="UTF-8"?> <Configuration status="info"> <Properties> <Property nam...
asked by 19.10.2018 / 22:57
0
answers

Cache GET and POST requests in a log file. log4j.xml

I am trying to collect the GET and POST requests from my application. I have been told that it is possible to do it in the simple log4j, but I can not find the filter that captures these requests. Do you know if it is possible? Thank you, bes...
asked by 14.09.2018 / 13:39
0
answers

Configure log hibernate in test to a file?

I want to configure the log of the queries of hibernate when I launch the unit tests to a log file. This configuration displayed on the server works like a charm but when I run the tests the hibernate traces are painted without the package na...
asked by 26.01.2018 / 13:36
1
answer

java, log4j problem with hsqldb

I am using JSF with HSQLDB 2.3.4 as the database. When executing the search for an element, it throws the following error log4j:WARN No appenders could be found for logger (hsqldb.db..ENGINE). log4j:WARN Please initialize the log4j system prop...
asked by 16.09.2017 / 23:47