Prepare config part for all modules

Signed-off-by: xcgspring <xcg1987xcg@126.com>
should not get logger before do config

Signed-off-by: xcgspring <xcg1987xcg@126.com>