mod logs to allow to write to file