Change log from error to debug