update custom logger. Got rid of native logger.