RR: refactor logging donfignin settings.

Change-Id: I4bc6ee3301b63316108963c8322033e160dd162d