Add log for debugging.