Fix regression: No handlers could be found for logger when start

This change fixed a function regression on bug/1201562.

Closes-Bug: #1201562

Change-Id: I3994c97633f5d09cccf6defdf0eac3957d63304e
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Merge "Fix regression: No handlers could be found for logger when start"