More detailed logging
Add the ability to log debug, warning, error messages to a file.
Especially for server YP listing failures it would be interesting to log the failure cases together with more information about the exact request data the server made (so it can be replicated) and the external and internal failure reason.
Probably best to use some logging framework to simplify that.