2019-11-07 16:42:48 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
`yarn`
|
|
|
|
|
|
|
|
`mkdir src/logs/`
|
|
|
|
|
2019-11-12 21:38:02 +00:00
|
|
|
Then two options:
|
|
|
|
* get a sample log sample can be found [here](https://drive.google.com/file/d/1uwCii2hbfDfsc52bN2_p0gGAkcetcf2r/view?usp=sharing)
|
|
|
|
* generate your own
|
|
|
|
* run in application with `DEBUGLOGS=true` and this will generate a `structlog-embark.json` file
|
|
|
|
* run `node log_script.js` which will generate a `logs.json` file
|
2019-11-07 16:42:48 +00:00
|
|
|
|
2019-11-12 21:38:02 +00:00
|
|
|
copy `logs.json` file to `src/logs/`
|
2019-10-31 20:25:11 +00:00
|
|
|
|
2019-11-12 21:38:02 +00:00
|
|
|
`yarn start`
|