Why is logging flash messages useful?