Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
As a developer (having the debugger hat), I need to find the most standard problems most easily. Currently, DS services are logging hundreds and thousands of lines on startup into DEBUG but nearly nothing into INFO.
So, in my opinion, Felix should reconsider the log levels of all its DS bundle startup loglines. The two most important ones (in my opinion) are argued below:
Beginning with AbstractComponentManager::getState. The "Querying state" log should be in level TRACE, as that very state is written six times for every state change 3xActivateInteral: (2x inside getState and then again in the "Activating" line itself) and analogous 3x for the real state change.
Here, all four of these "Querying state" lines are superfluous and only necessary, if I search for deep felix implementation bugs.
Additionally, the registation changes of a component should be logged into INFO, instead of DEBUG. Then, I do not need to activate DEBUG for my DS based bundles in the first place (at least for most of my debugging efforts).
The two minor changes will improve the debugging experience alot and will reduce its needed time significantly. I will be glad to create a pull request if this issue is approved.
Attachments
Issue Links
- links to