modify log type