Adding end log