logrotate not working as per configuration provided
I am working on a application in Ubuntu which keeps generating logs from different devices (external) and stores logs in a folder. This is done by rsyslog.service
. I created a config to rotate this files once a session is closed (user triggers this by closing the session in application).