Project

General

Profile

Actions

User story #5894

closed

Add a logger to trace webapp bootstrap actions

Added by Vincent MEMBRÉ about 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
5 (lowest)
Assignee:
-
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]

Subtasks 1 (0 open1 closed)

User story #5359: Add a logger to trace bootstrap action and clean themReleasedNicolas CHARLES2014-08-06Actions
Actions #1

Updated by Vincent MEMBRÉ about 10 years ago

  • Status changed from 13 to Pending release
Actions #2

Updated by Vincent MEMBRÉ about 10 years ago

  • Description updated (diff)
Actions #3

Updated by Vincent MEMBRÉ about 10 years ago

  • Subject changed from Add a logger to trace bootstrap action and clean them to Add a logger to trace webapp bootstrap actions
Actions #4

Updated by Vincent MEMBRÉ about 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 #5

Updated by Benoît PECCATTE almost 10 years ago

  • Category changed from 39 to System integration
Actions

Also available in: Atom PDF