Abstract: Add log for state changes, and mtime field