Avoid usage of deprecated stream.edit_log