Project

General

Profile

Actions

User story #5894

closed

Add a logger to trace webapp bootstrap actions

Added by Vincent MEMBRÉ over 9 years ago. Updated about 9 years ago.

Status:
Released
Priority:
5
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

Also available in: Atom PDF