You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO level logs from presentation-backend.Rpc are logging too much - it seems like the entire ruleset is logged which in my apps case turns out to be ~20K characters in log line length (which translates to ~20KB file size per log). These log calls should be turned into TRACE level or they should not log so much debug information.
Info level logs should be short and provide additional context of what is happening in the application (what is the user doing), they should not include full blown debug information.
Example logs:
2025-02-18 11:47:20.669 [info] |presentation-backend.Rpc| Received 'getPagedContent' request. Params: ...
2025-02-18 11:47:20.716 [info] |presentation-backend.Rpc| Received 'getPagedNodes' request. Params: ...
2025-02-18 11:47:19.861 [info] |presentation-backend.Rpc| Received 'getContentDescriptor' request. Params: ...
The text was updated successfully, but these errors were encountered:
Thanks for the issue, @karolis-zukauskas. A problem for us is that getPagedNodes request is basically used for all the possible hierarchies in the application, so seeing just the request name doesn't really tell "what is the user doing". We need at least some of the parameters to tell that.
Is the ruleset the only offending param? Maybe we could just log ruleset id instead of the whole ruleset..
INFO level logs from
presentation-backend.Rpc
are logging too much - it seems like the entire ruleset is logged which in my apps case turns out to be ~20K characters in log line length (which translates to ~20KB file size per log). These log calls should be turned into TRACE level or they should not log so much debug information.Info level logs should be short and provide additional context of what is happening in the application (what is the user doing), they should not include full blown debug information.
Example logs:
The text was updated successfully, but these errors were encountered: