Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No, Logback does not generate an empty file each time the application begins. Logback will append log entries to the existing log file, and if the file does not exist, it will create a new one. However, it is possible to configure Logback to overwrite the existing log file each time the application starts by setting the append property to false in the configuration file.