Merge "Add event logging for tasks and stacks." into klp-dev