Skip to content

bootique-examples/bootique-logback-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

verify

bootique-logback-demo

Simple Bootique app demonstrating the Bootique Logback Module.

You can find different versions of framework in use at

Prerequisites

  • Java 1.8 or newer.
  • Apache Maven.

Build the demo

git clone https://github.com/bootique-examples/bootique-logback-demo.git
cd bootique-logback-demo
mvn package

Enter the following command to launch the app with all commands:

java -jar target/bootique-logback-demo-1.0-SNAPSHOT.jar -m

List of available options:

-m - run main Commnad with all other commands (Debug, Error, Info, Trace, Warn)
-d - run only DebugCommand. You will see logs under the DEBUG level such as: debug, info, warn and error
-e - run only ErrorCommand. You will see logs under the ERROR only error
-i - run only InfoCommand. You will see logs under the INFO level such as: info, warn and error
-t - run only TraceCommand. You will see logs under the TRACE level such as: trace, debyg, info, warn and error
-w - run only WarnCommand. You will see logs under the WARN level such as: iwarn and error

After launch you can see logs in terminal or find them in a logfile target/logback/demo.log

Releases

No releases published

Packages

No packages published

Languages