add elasticsearch to logger