Deprecated debug option and added log option

General improvements to levels and verboseness of logs.