Server logs separate by date

Hi folks! Is there a way to separate logs by date?
Because my server is running for a long time, so when i access the log, this is huge!
So, from time to time, i need to restart my openvidu server to clean the logs.
Thks a lot!
Doug

Edit: “by date” i mean separete by day.