Project

General

Profile

Actions

User story #5359

closed

User story #5894: Add a logger to trace webapp bootstrap actions

Add a logger to trace bootstrap action and clean them

Added by François ARMAND over 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
5 (lowest)
Category:
System integration
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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]
Actions #1

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
Actions #2

Updated by François ARMAND over 10 years ago

  • Assignee changed from François ARMAND to Jonathan CLARKE
Actions #3

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.

Actions #4

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)
Actions #5

Updated by François ARMAND about 10 years ago

  • Status changed from In progress to Pending release
  • % Done changed from 0 to 100
Actions #6

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
Actions #7

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.

Actions #8

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.

Actions #9

Updated by François ARMAND about 10 years ago

  • Description updated (diff)
Actions #10

Updated by François ARMAND about 10 years ago

  • Status changed from Discussion to Pending technical review

Functionnaly validated and PR updated

Actions #11

Updated by François ARMAND about 10 years ago

  • Assignee changed from François ARMAND to Nicolas CHARLES
Actions #12

Updated by François ARMAND about 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #14

Updated by Matthieu CERDA about 10 years ago

  • Target version changed from 140 to 3.0.0~beta1
Actions #15

Updated by Vincent MEMBRÉ almost 10 years ago

  • Parent task set to #5894
Actions #16

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.

Actions #17

Updated by Benoît PECCATTE over 9 years ago

  • Category changed from 39 to System integration
Actions #18

Updated by Benoît PECCATTE over 9 years ago

  • Tracker changed from Enhancement to User story
Actions

Also available in: Atom PDF