Added configure_logging() method