replacing std::cerr with rofcore::logging::debug