Skip to content

rgl/log4j2-file-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a log4j2 file logging example.

Usage

Install the dependencies:

Open this directory with the Dev Container plugin.

Open the Visual Studio Code Terminal.

Build and execute the example:

rm -rf logs
gradle build --warning-mode all
gradle run
ll logs
# then execute gradle run several times, to see how it rotates the files.
# as configured, no more than 3 files per day will exist.
gradle run
ll logs

Releases

No releases published

Packages

No packages published