Fixed deprecation warning about logging-option