Log shipping retention question
The primary server must retain all transactions until the secondary restores them and acknowledges to the primary.
You must constantly monitor both the primary and secondary servers to avoid this situation.