According to the user guide available on the Internet, in HIP2P, you need to access Settings then Other Settings. Choose the log retention time based on the available options.
You can't clear the logs unless the device is restored to factory defaults, but that will wipe any changes you have already made.
You can download the manual from the following link.