library icon indicating copy to clipboard operation
library copied to clipboard

Set log level correctly

Open RohanM opened this issue 5 months ago • 0 comments

Description of Change

The order of operations meant that previously when the LOG_LEVEL environment value was set, its value was ignored and instead we always set the log level to debug. This PR adds tests and fixes the bug.

Checklist

  • [x] Ran npm run lint and updated code style accordingly
  • [x] npm run test passes
  • [x] PR has a description and all contributors/stakeholder are noted/cc'ed
  • [x] tests are updated and/or added to cover new code
  • [ ] relevant documentation is changed and/or added

RohanM avatar Aug 28 '24 05:08 RohanM