replace mLogger with LOGGER
add logging