User story #5359
closedUser story #5894: Add a logger to trace webapp bootstrap actions
Add a logger to trace bootstrap action and clean them
Description
With a list of action (essentially checks) executed when Rudder web application starts.
But at boot time, Rudder is not saying that it is doing things, and we just think that it stalled.
So we want to have output saying "existing blabla"
Moreover, it may be intersting to know how much time each of these action is taking to help identifies bad behaviour for debugging (so at debug level).
The output in info level is:
[2014-09-30 13:30:03] INFO bootchecks - Check mandatory DIT entries [2014-09-30 13:30:04] INFO application - All the required DIT entries are present in the LDAP directory [2014-09-30 13:30:04] INFO bootchecks - Check initialization of User Technique Library [2014-09-30 13:30:04] INFO bootchecks - Check event log migration format 4 -> 5
And in debug:
[2014-09-30 13:16:15] INFO bootchecks - [#0] Check mandatory DIT entries [2014-09-30 13:16:16] INFO application - All the required DIT entries are present in the LDAP directory [2014-09-30 13:16:16] DEBUG bootchecks - [#0] Check mandatory DIT entries: OK in [951 ms] [2014-09-30 13:16:16] INFO bootchecks - [#1] Check initialization of User Technique Library [2014-09-30 13:16:16] DEBUG bootchecks - [#1] Check initialization of User Technique Library: OK in [51 ms] [2014-09-30 13:16:16] INFO bootchecks - [#2] Check event log migration format 4 -> 5 [2014-09-30 13:16:16] INFO migration - No migration detected by migration script (table 'migrationeventlog' is empty or does not exists) [2014-09-30 13:16:16] DEBUG bootchecks - [#2] Check event log migration format 4 -> 5: OK in [105 ms]
Updated by François ARMAND over 10 years ago
- Status changed from In progress to 10
- Pull Request set to https://github.com/Normation/rudder/pull/596
Updated by François ARMAND over 10 years ago
- Assignee changed from François ARMAND to Jonathan CLARKE
Updated by François ARMAND about 10 years ago
- Status changed from 10 to In progress
- Assignee changed from Jonathan CLARKE to François ARMAND
The output is not clean for now.
Updated by François ARMAND about 10 years ago
- Subject changed from Add a logger to trace bootstrap action to Add a logger to trace bootstrap action and clean them
- Description updated (diff)
Updated by François ARMAND about 10 years ago
- Status changed from In progress to Pending release
- % Done changed from 0 to 100
Applied in changeset 0e9fafd94df9e7567031893e883366f6dbbea438.
Updated by François ARMAND about 10 years ago
- Description updated (diff)
- Status changed from Pending release to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- % Done changed from 100 to 0
Updated by François ARMAND about 10 years ago
The commit noted is NOT in rudder branches, its on "ust_5359/log_bootstrap_checks" which was pushed by error.
So, there is actually a TR to review and merge into master.
Updated by Jonathan CLARKE about 10 years ago
- Description updated (diff)
- Status changed from Pending technical review to Discussion
- Assignee changed from Nicolas CHARLES to François ARMAND
Updated target log formats.
Updated by François ARMAND about 10 years ago
- Status changed from Discussion to Pending technical review
Functionnaly validated and PR updated
Updated by François ARMAND about 10 years ago
- Assignee changed from François ARMAND to Nicolas CHARLES
Updated by François ARMAND about 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 20e6c906a3b89830fb8442de944e2fd3de7b8bb0.
Updated by Nicolas CHARLES about 10 years ago
Applied in changeset fdd647c780541090ded73f1129da4b7bbcf9e925.
Updated by Matthieu CERDA about 10 years ago
- Target version changed from 140 to 3.0.0~beta1
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.0~beta1 which was release on 01/12/2014.
- Announcement
- Changelog
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Benoît PECCATTE over 9 years ago
- Category changed from 39 to System integration
Updated by Benoît PECCATTE over 9 years ago
- Tracker changed from Enhancement to User story