print log to debug