fix #2591: crash in logging activity