modify log class