General: Refactored cherrytorrent logging a bit