Revert "logging: fix SetLevel"

This reverts commit 796d1a3172b50f99a153b1c886e52fb5abe7f78a.