Added printing of configuration to log