Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binance/binance-java-logback
Customized java logback framework
https://github.com/binance/binance-java-logback
binance java logback-framework
Last synced: about 1 month ago
JSON representation
Customized java logback framework
- Host: GitHub
- URL: https://github.com/binance/binance-java-logback
- Owner: binance
- License: mit
- Created: 2023-03-01T08:07:19.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-18T07:45:09.000Z (about 1 year ago)
- Last Synced: 2024-11-08T08:38:26.380Z (3 months ago)
- Topics: binance, java, logback-framework
- Language: Java
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Binance custom logback-classic
This is an adaptation of `logback-classic` framework, but integrated with the following major customizations:
- Applies `TimeBasedRollingPolicy` for the created log file at working path's `./logs` folder;
- Log pattern is `"%date{yyyy-MM-dd HH:mm:ss.SSS}[%epoch] | %-5level | %-10thread{10} | %-36logger{36} - %msg%n"`;Logging example:
```
2023-02-27 18:36:42.912[1677490602912] | INFO | main | c.b.c.client.utils.RequestHandler - GET https://api.binance.com/api/v3/account?`
```For complete details, please refer to `src/main/resources/logback.xml`
## Installation
Add the following dependency to your `pom.xml`:
```
io.github.binance
binance-logback
VERSION```
Replace `VERSION` with a published version.
## Contributing
Contributions are welcome! If you've found a bug within this project, please open an issue to discuss what you would like to change.