Bugfix in setting up advanced logging (it was possible to do so multiple times).