Skip to content

bootique-examples/bootique-logback-demo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

About

Demo for bootique-logback module

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages