Removed ifdef LOG_ENABLE