change logging from warning to debug