Adding some logging to ensure metadata properties are set correctly