https://github.com/technologize/fluency-log4j-appender
log4j appenders based on fluency
https://github.com/technologize/fluency-log4j-appender
aws-s3 fluentd java log4j2
Last synced: about 1 year ago
JSON representation
log4j appenders based on fluency
- Host: GitHub
- URL: https://github.com/technologize/fluency-log4j-appender
- Owner: technologize
- License: apache-2.0
- Created: 2021-07-20T09:48:16.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-28T02:58:32.000Z (over 3 years ago)
- Last Synced: 2025-05-06T22:15:15.469Z (about 1 year ago)
- Topics: aws-s3, fluentd, java, log4j2
- Language: Java
- Homepage:
- Size: 47.9 KB
- Stars: 4
- Watchers: 0
- Forks: 4
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# log4j2 appenders for Fluentd, Aws S3
`Minimum Requirements`
| Dependency | Version |
| :------------- | :----------: |
| Java | 8 |
| log4j | 2.11 |
Add `io.github.technologize` to `packages` in log4j's `Configuration`
## Sample log4j config
### Fluentd
`tag`: tag refers to tag of fluentd
```xml
io.github.technologize
fluentd-log4j-appender
1.0.0
```
```xml
yourApplication
Otherfield %X{traceId}
```
### Aws S3
`tag`: tag is the name of the Aws S3 bucket
```xml
io.github.technologize
aws-s3-log4j-appender
1.0.0
```
```xml
yourApplication
Otherfield %X{traceId}
```
Based on [fluency](https://github.com/komamitsu/fluency). Inspired from [log4j-plugin-fluency](https://github.com/wycore/log4j-plugin-fluency)