trigger for log
include data, fix the problem about menu be cached when selected