logger: get rid of deprecated stuff.