code review 20140221
Merge branch 'master' of https://github.com/Orange-OpenSource/mod_dup
New opening log file function