Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Debug logging causes performance degradation with large payloads #68

Open
4 tasks done
alexjhawk opened this issue Mar 4, 2024 · 1 comment
Open
4 tasks done
Assignees
Labels
bug Something isn't working

Comments

@alexjhawk
Copy link
Collaborator

Do I have the latest version of the Ewon firmware?

  • Yes

Do I have the latest version of the application?

  • Yes

Do I have a custom or modified version of the application?

  • Yes

Ewon Firmware Version

14.8s0

Application Version

1.4.1

Network Connection Type

Ethernet

Current Behavior

Changing the LogLevel to 6 causes the body of payloads sent to be output to the Ewon's realtime logs. This has performance implications where a large amount of data is contained in the payload. This is especially notable when that condition persists for consecutive data polls and the realtime logging becomes overwhelmed.

Expected Behavior

It is expected that debug output does not have a drastic impact on the connector performance under reasonable or normal operating circumstances.

Steps to Reproduce

  1. Launch and run the connector using log level 6
  2. Process a large amount of data through the historical data queue to a payload or payloads
  3. Connector logs the request/response body, causing performance implications

Additional Information

First Observed by Customer
Confirmed by @alexjhawk
Reported by @alexjhawk

Code of Conduct

  • I agree to abide by the Code of Conduct.
@alexjhawk alexjhawk added the bug Something isn't working label Mar 4, 2024
@alexjhawk alexjhawk self-assigned this Mar 4, 2024
@alexjhawk
Copy link
Collaborator Author

Edit: There are no custom modifications to this connector. The request template only allows you to pick 'Yes'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant