logic for subclass logging was faulty, fixed