document logger