Added log level and renamed ProcessDef to ProcessDefinition for clarity