This project was generated with Spring Boot [Spring Boot] (https://projects.spring.io/spring-boot/). This Project will reads the log file and gives the stats. Currently this application will reads the logfile from the location /src/main/resources/logfile.log
We can import this project in Spring tool suite or in eclipse or any IDE.
You can build the package as a single artifact by running the ./mvnw clean install
.
Next, you can run the application by executing:
$ java -jar \log-file-reader\target\logfile-readr-0.0.1-SNAPSHOT.jar
The application will be accessible at http://localhost:9090
.
We can chnage the Port number by editing application.properties from /src/main/resources