[bic] Recode the installation of the Logging capacity.

Since the unit test is failing with a NullPointerException, the code is
rewritten for obtaining the exact statement where the error occurs.

Signed-off-by: Stéphane Galland <galland@arakhne.org>