Fix trailing whitespace
Add logging info on troubleshooting page