Added configuration and (lazy) loading of log handlers and formatters.