changed warning log to debug