CDB-3081 Added log and using it on load_functions rake