Disabled logger accepted, but this solution is very weird.