https://github.com/alexanderlapygin/log4j-starter
https://github.com/alexanderlapygin/log4j-starter
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexanderlapygin/log4j-starter
- Owner: AlexanderLapygin
- License: mit
- Created: 2023-09-06T18:26:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-07T12:33:52.000Z (over 1 year ago)
- Last Synced: 2025-02-01T12:11:50.130Z (3 months ago)
- Language: Java
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Log4j Starter
## Feature tags
- java
- log4j
- maven
- starter
- template---
## Direct ancestors
[- log4j](https://github.com/AlexanderLapygin/java-helloworld/tree/main#readme)## Direct descendants
[+ gelf](https://github.com/AlexanderLapygin/log4j-graylog-gelf-starter#readme)---
## Author
[Alexander Lapygin](https://github.com/AlexanderLapygin) <>
---
## Requirements
- [Log4j](https://logging.apache.org/log4j/2.x/)
- [Maven](https://maven.apache.org/)
- [Java 17](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)---
## Build
```sh
mvnw clean package
```## Run
```sh
java -jar target/hello-world-1.0.jar
```See the log entry in the *app.log* file:
```sh
2023-09-06 23:44:39,261 [main] INFO com.example.App - Hello, World!
```### License
Licensed under the [MIT license](./LICENSE)
---
[SOFTSPIDERS](https://github.com/softspiders/softspiders)