logging requests to file