https://github.com/krgn/logger_conform_repro
https://github.com/krgn/logger_conform_repro
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/krgn/logger_conform_repro
- Owner: krgn
- Created: 2018-04-24T17:03:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-25T07:48:35.000Z (over 8 years ago)
- Last Synced: 2025-01-26T05:11:29.564Z (over 1 year ago)
- Language: Elixir
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ConLogs
Quick way to reproduce the gelf logger issue in conjunction with conform.
## Setup
Edit `config/con_logs.prod.conf` and set (not really necessary though, since it uses UDP)
```
logger.gelf_logger.host = "your-host-here.com"
logger.gelf_logger.port = 12201 # or whatever your graylog port is
```
## Reproducing with conform
```shell
export USE_CONFORM=true
env MIX_ENV=prod mix do deps.clean --all, deps.get, release
_build/prod/rel/con_logs/bin/con_logs foreground
```
## Reproducing without conform
```shell
export USE_CONFORM=false
env MIX_ENV=prod mix do deps.clean --all, deps.get, release
_build/prod/rel/con_logs/bin/con_logs foreground
```