remove duplicate method in logger