Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
In order to improve the developer experience during testing and debugging I would like to set my custom filter rules and change them on fly.
Use-case:
by default in am-config.yaml file developers set the following rules:
### LOGGING logging: rules: # These rules have been carefully selected by core team # ---------------------------------------------------------------------- - "*=false" - "*.info=true"
during the debugging I found that I need to see debug traces as well
currently, I need to stop my application and go to am-config.yaml file and modify it
time-consuming and not always possible on the target
Proposal:
In order to improve this experience I would like to implement a debugging screen where will be present current set of rules in TextField and button "Update". TextField will be initially filled up by appmanager property "filterRules" or something
then a developer can adjust rules and press the "update" button and apply new rules immediately
an API https://doc.qt.io/qt-6/qloggingcategory.html#setFilterRules can be used for updating, but also would be nice to have on appman side to keep api clear and consistent
The alternative solution might be to provide QLoggingCategory::getFilterRules() from QtCore module
Attachments
Issue Links
- depends on
-
QTBUG-119238 categorized log output on iOS has line breaks in random places
- Closed
- duplicates
-
QTBUG-59853 Enable/disable individual logging category
- Reported