Minor logging improvement

Added LOG_TAG and moved under the pref dump