Create logViewByAction.c