write log event after ApplicaitonEvent raised

part of issue Hoist/hoist#41