I’m running a Rails application on my Site5 shared hosting plan. The application writes to a log file under the application root. I would like to rotate these logs periodically, but the Linux utility “logrotate” is not available on the shared hosting server.
How otherwise could I rotate this log file, or would it be possible to install and configure logrotate in my user directory?