Make some function arguments const
Auto-commit of .log by diary script