End of support for EZproxy on Solaris platform
OCLC ended support for EZproxy on the Solaris 10 (x86) platform on October 31, 2018. We no longer provide software for this platform. We will continue to provide Linux and Windows versions of the software. Customers using EZproxy on Solaris should plan to move their installation of EZproxy to Linux or Windows. If you have questions about this change, please reach out to Customer Support (firstname.lastname@example.org).
Please refer to the LogFile directive for the preferred way to implement EZproxy log file rotation.
Historic way to implement log rotation
The balance of this technote appears for historic reference.
Here is a sample shell script to rotate the ezproxy.log file with versions of EZproxy 2.2 and later running on Linux or Solaris:
#!/bin/sh # Sample log file rotation script # Works with EZproxy 2.2 and later # Change the directory below as relevant cd /usr/local/ezproxy NF=ezproxy.log.`date +%Y%m%d.%H%M%S` # Rename current log file mv ezproxy.log $NF # Tell EZproxy to reopen a new ezproxy.log file ./ezproxy log # Compress old log file gzip $NF
If you save this script under a name such as /usr/local/ezproxy/rotate, then configure it to run using cron.