Log required exceptions and simple info

Exceptions and simple information flow is logged. Database component is
currently not logged. Refactored some message naming as well.