Service Portal logs are by default are stored for 90 days. However, you can store the logs for a longer period of time by using Table Rotation
- Navigate to "System Definition" -> "Table Rotation"
- Create a new Record for "sp_log" table
- Set the desired duration