Setting up logging logic, debug tags and debuggable=true