Change warning message to debug message