Auto-commit of .log by diary program