Copy to mylog: fixed bug in case of text too big (POST in ajax)