Change service key "logger.handlers" to "logger.default.handlers".
Use factories in the examples.