procedural sublogs refactor