fix bug where default logging is optimized out in release builds