gateway
gateway copied to clipboard
Feat/log config
Before submitting this PR, please make sure:
- [x] Your code builds clean without any errors or warnings
- [x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")
A description of the changes proposed in the pull request:
- Make fastify logs useful by eliminating ping logs (turn on fastify logs by modify conf/server.yml
- Some linting changes from extending line width got included.
- Added logFilenameFormat config value as log files were not creating symlinks for stach traces without the .log extension
Tests performed by the developer: pnpm clean && pnpm install && pnpm build && pnpm test && pnpm start --dev
Tips for QA testing:
- checkout development (e.g. not this branch)
- Change conf/server/yml : fastifyLogs to true
- run pnpm build
2 run
pnpm start, - Start hbot
- See ping logs for / are in gateway console
- kill gateway & hbot
- checkout this branch
- run pnpm build
2 run
pnpm start, - Start hbot,
- see ping logs are no longer flooding the console.
merge conflicts need resolution before review