Firebot icon indicating copy to clipboard operation
Firebot copied to clipboard

[Feature Request] Update log level for API Requests

Open dennisrijsdijk opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

API requests to Firebot's HTTP API get logged as info rather than debug. This spams the log when applications frequently poll the API for information, even if debug mode is disabled.

Expected Behavior

API requests should be logged with debug instead of info

Steps To Reproduce

  1. Open the Firebot Overlay in a browser or OBS
  2. Check the log

Version

5.62.1

What operating system are you using Firebot on?

Windows 10

Relevant log output

[2024-04-14 17:52:35.0198] - info: [v5.62.1] API Request from: 127.0.0.1:7472, for path: /api/v1/custom-variables
[2024-04-14 17:52:35.0199] - info: [v5.62.1] API Request from: 127.0.0.1:7472, for path: /api/v1/queues
[2024-04-14 17:52:35.0200] - info: [v5.62.1] API Request from: 127.0.0.1:7472, for path: /api/v1/timers
[2024-04-14 17:52:35.0724] - info: [v5.62.1] API Request from: 127.0.0.1:7472, for path: /api/v1/counters
[2024-04-14 17:52:35.0727] - info: [v5.62.1] API Request from: 127.0.0.1:7472, for path: /api/v1/commands/system
[2024-04-14 17:52:35.0728] - info: [v5.62.1] API Request from: 127.0.0.1:7472, for path: /api/v1/commands/custom
[2024-04-14 17:52:35.0730] - info: [v5.62.1] API Request from: 127.0.0.1:7472, for path: /api/v1/effects/preset
[2024-04-14 17:52:35.0733] - info: [v5.62.1] API Request from: 127.0.0.1:7472, for path: /api/v1/customRoles

Contact Details (Optional)

No response

dennisrijsdijk avatar Apr 16 '24 12:04 dennisrijsdijk

Changed to feature request as this is not broken/unintended

zunderscore avatar Apr 16 '24 14:04 zunderscore