Remove warning on logger