Add functionality to retrieve log messages from the server.