How to set DAILY_ROTATE=true

I have set LOG_ROTATE=true DAILY_ROTATE=true in app.ini. but this function doesn’t seem to be activated. could you help me? thanks!

I believe you have to restart gitea on your server. Were you able to do that?