Fix logging bug with multiple documents