I scanned the code... and there is currently no method to automatically limit the size of the HTTP client log file. The method suggested by Volker - use an event to rotate the log - would be your best solution. If checking the size of the file does not work (due to OS not updating the meta data (size) of the file) then you could just decide to rotate the log every fixed period of time regardless of its size. E.g. you could change the file name every 6, 12, or 24 hours depending on your situation / requirements. You can use call sa_server_option( 'WebClientLogFile', newname ); to set a new name for the log file. |
I don't think so but you could of course create an event that checks the file size of the log and switches to a new log when a particular size is reached (and then possibly remove the previous one). sa_server_option() will be of help here. For ASA12, I'm trying to get the zoc-file size using a proxy table:
(24 Apr '17, 08:21)
Ilia63
|