prepare for log page
prepare for action log
added action log
ported log outputting