Merge "Move logging instance creation to create_instance"