Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
245 views

Problem with Log4j2 Configurator initialize in spring boot

I'm working on a spring boot project, which use log4j2 for logging. The log4j2.xml is stored in DB, so I have to retrieve it before using. It looks like below: <?xml version="1.0" ...
Albert's user avatar
  • 1
0 votes
1 answer
9k views

Log4j2 with SpringBoot (configuration)

I did read other questions, also I've read configuration and I came up with a solution but I don't know if it's okay. Problem: I have SpringBoot application and I was trying to use log4j2 as logging ...
JustQuest's user avatar
  • 299
0 votes
1 answer
653 views

Reading external xml log4j2 config file, if not exist then read internal in spring boot

I have a spring boot application that uses log4j2 and it has its XML configuration file in the resources folder. But the idea is that first the application looks for the configuration file outside ...
Joaquín Figueroa Arrué's user avatar
3 votes
1 answer
4k views

Meaning of xwEx for log4j2?

In Spring Boot 2.1.2, in the default log4j2.xml file, I noticed the following line: <Property name="LOG_EXCEPTION_CONVERSION_WORD">%xwEx</Property> I have been searching for the meaning ...
Snackoverflow's user avatar
3 votes
0 answers
651 views

Log4j2 Composite Configuration support in Spring Boot

As per the documentation, Log4j2 supports creating a composite configuration by passing a list of configuration files in the configurationFile variable: log4j2.configurationFile: log4j2-local.yaml,...
JPS's user avatar
  • 526
0 votes
1 answer
641 views

log4j2 monitorInterval springboot not working

Im trying to get hot reloading to work with my logging level. The monitorInterval Should do the trick for me, but for some reason it doesnt work. My log4j2.xml file looks like this: <...
Mike Nor's user avatar
  • 227