I am using screen within a deployment script to launch several processes detached.
For example :
/usr/bin/screen -dmSL ${USER}_selenuim java -jar selenium-server-standalone.jar -role hub -servlets com.example.local
The problem I see is that this service will be on for an extended duration and the output is quite verbose as per a requirement however, the log file which is created (screenlog.0) is growing an an extremely large amount.
Is it possible to split this log file or create another log file after it reaches a certain size WITHOUT stopping and restarting the screen services. Or some other combination to reduce the file sizes of logs.
I have referred to the screen Manual however I could not find an answer..