fix dynamic logging
build with dynamic logging