Archive and delete reverse proxy log files with the command-line interface
Use the logs option in the command-line interface to archive Web Reverse Proxy log files to a USB device and then delete old log files to free up disk space.
Steps
- In the command-line interface, go to isam > logs.
- Optional: Enter help to display all available commands.
Current mode commands: archive Archive the log files to a USB device. delete Delete the log files which have been rolled over by the system. Global commands: back Return to the previous command mode. exit Log off from the appliance. help Display information for using the specified command. reboot Reboot the appliance. shutdown End system operation and turn off the power. top Return to the top level.
- Archive or delete the log files.
- Archive the log files to a USB device
- Enter archive to save the log files to a USB device.
- Insert a USB device into the USB port of the appliance.
- Enter YES to start the archive operation. A list of archived files are displayed, along with a message that indicates when the archive operation has completed. Example output is shown as follows:
updating: var/PolicyDirector/log/ (stored 0%) updating: var/PolicyDirector/log/msg__pdmgrd_utf8.log (deflated 85%) updating: var/PolicyDirector/log/PDMgr_config_start.log (deflated 37%) updating: var/PolicyDirector/log/ivmgrd.pid (stored 0%) updating: var/pdweb/default/log/ (stored 0%) updating: var/pdweb/default/log/iss-pam1.so (deflated 59%) updating: var/pdweb/default/log/webseald-default.pid (stored 0%) updating: var/pdweb/default/log/config_data__default -webseald-felbb.wga.gc.myco.com.log (deflated 92%) updating: var/pdweb/default/log/referer.log (stored 0%) updating: var/pdweb/default/log/msg__webseald-default.log (deflated 89%) updating: var/pdweb/default/log/pam.log (deflated 98%) updating: var/pdweb/default/log/agent.log (stored 0%) updating: var/pdweb/default/log/request.log (stored 0%) The log files have been successfully archived to the USB drive: iswga_logs.zip. It is now safe to remove the USB drive.
- Remove the USB device from the USB port.
Delete the log files
- Enter delete to purge all log files that are rolled over.
- Enter YES to confirm the delete operation.
Parent topic: Reverse proxy status