Update TODO keyword states and logging behaviors