Working implementation of lot of logs
Weight errors, and now logs an exception