removes log