Add logging functionality

Adding logging functionality based on the code from suse-cloud-upgrade
Change rabbitmq password retrieve procedure