From bb56dcb5dd62b581da0bebfcc616b8877509845c Mon Sep 17 00:00:00 2001 From: Konstantinos Karavitis Date: Sun, 1 Sep 2019 19:57:03 +0300 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index f953d88..fa0150b 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,12 @@ Spring Boot application for logging all the headers of client request and client ## Requirements jdk 8 or later + +## Usage +- Get the release requestLogger-0.0.1-SNAPSHOT.jar from the releases tab. +- Open a terminal, command line inside the folder which includes the jar you downloaded during the previous step and run + +`java -jar requestLogger-0.0.1-SNAPSHOT.jar --logging.file=/~/request-logger.log` + +where --loging.file property is the path of your logging file. I use linux and my path is /~/request-logger.log. +For windows should be something like C:\users\\[username]\