Log warning that suggests using Marshal