adjusted for new rgp::Log version