logging requests for DB