Logging api init changes.

Change-Id: I210280004617bd250aafbbceced57185a319e727
Merge "Logging api init changes."