doc: fix log level ids

Fix the documentation as described in issue #4552.