Logrotate

Hi

I would like to know one thing regarding syslog in nvidia. In /var/log/syslog ,i have syslog, syslog.1, syslog.2.gz …syslog.7.gz. Here all the logs are getting rotated. How can I rotate only my useful application logs?Kindly help me on this.

Thanks in advance

This is not specific to Jetsons, so any Ubuntu 18.04 doc on the topic should apply. You might find one of these of use:
https://linoxide.com/linux-how-to/setup-log-rotation-logrotate-ubuntu/
https://kifarunix.com/how-to-configure-log-rotation-with-logrotate-on-ubuntu-18-04-lts/