Revert "dir server: fix global logger type"

This reverts commit 21412c07987aa5ccfb331d3ee68e6d08ac29d956.