Fixed internal error (undefined log). bnc#868436
Updated changelog
Merge pull request #171 from mchf/bnc868436-internal-error

internal error - undefined 'log'
Workaround for ini agent issue.

Ini agent sometimes do not delete file when requested after write.
This is hotfix/workaround which can be removed once the issue is fixed.
Updated changelog