Auto-commit of .log by diary script