change cat log method