Debugging possible?

Hi there! Is there any chance, write and very verbose debug log, have a chance find out why a connection fails to a UPNP renderer? And where is the log file stored?