StatusLogger dest=file.log
property creates an empty file
#3579
Labels
waiting-for-user
More information is needed from the user
Description
I specified
<Configuration dest="file.log">
in my log4j2.xml.I expected the status logger messages to be redirected to that file. Instead the
file.log
was created, but it remained empty, and all the status logging messages were printed to console as before.Configuration
Version: 2.24.3
Operating system: Windows 11
JDK: Amazon Correto 17.0.12
Reproduction
<Configuration dest="file.log">
in log4j2.xml.file.log
is created, but is emptyThe text was updated successfully, but these errors were encountered: