Cant seem to get logger to activate

I’m new to Home Assistant. I noticed my logs getting big and wanted a way to have logs trimmed automatically. I read a tool called logger had some abilities to do that.

I followed the documentation and past posting as best I could to get it running but never could. I didnt see anything that would help with that posted.

Can anyone get me back on track with my goal of auto trimming my logs so they dont get out of hand?

Thanks