I'm looking for a simple solution for the following problem.
Can this be done via Glassfish itself? Or do I need to write a batch/powershell script to do it for me, and scheduler it on the server?
Cheers, Chris
Glassfish can manage the number of files to retain in the domain/logs directory but does not manage compression and archival. I would recommend a shell script (if using a *NIX OS) using gzip to compress and generate your zip file that is scheduled using cron.