https://github.com/dacort/log4j-us
Dynamic log4j generator
https://github.com/dacort/log4j-us
jvm log4j logging
Last synced: 3 months ago
JSON representation
Dynamic log4j generator
- Host: GitHub
- URL: https://github.com/dacort/log4j-us
- Owner: dacort
- License: mit
- Created: 2020-05-06T18:39:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-30T05:22:07.000Z (about 3 years ago)
- Last Synced: 2025-02-16T04:33:38.017Z (over 1 year ago)
- Topics: jvm, log4j, logging
- Language: HTML
- Homepage: https://log4j.us
- Size: 30.3 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DynaLog
Basically, I want a server that can dynamically generate log4j configs.
Simple API that takes a base config file (or empty?) and then adds the different lines.
People should be able to provide a base log4j template (ala codepen - https://codepen.io/kasei-dis/pen/JjYjwza) that they can append trace levels to.
## Usage
```shell
curl https://log4j.fly.dev/templates/metabase?trace=metabase.query-processor,metabase.driver
```
Spits out the [default Metabase](https://raw.githubusercontent.com/metabase/metabase/891e128b1f3dfad7e73250e54108148cba491678/resources/log4j.properties) log4j + `metabase.query-processor` set to trace.
## Deploying
- Make sure `fly` is [installed](https://fly.io/docs/).
```bash
brew install flyctl
```
- 🚀
```bash
fly deploy
```