log to debug not error