gateway icon indicating copy to clipboard operation
gateway copied to clipboard

Feat/log config

Open WuonParticle opened this issue 5 months ago • 1 comments

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:

  1. checkout development (e.g. not this branch)
  2. Change conf/server/yml : fastifyLogs to true
  3. run pnpm build 2 run pnpm start,
  4. Start hbot
  5. See ping logs for / are in gateway console
  6. kill gateway & hbot
  7. checkout this branch
  8. run pnpm build 2 run pnpm start,
  9. Start hbot,
  10. see ping logs are no longer flooding the console.

WuonParticle avatar Jul 22 '25 17:07 WuonParticle

merge conflicts need resolution before review

fengtality avatar Sep 03 '25 02:09 fengtality