RLog refactored