Update log method

Update log method