The server application in the system dependency server can create logs for the embedded Apache server. To regulate the size of the Apache-Sun Update Connection – Enterprise logs, go to the logrotate file; controls over these specific logs are not in the uce.rc file.
Check if you have the logrotate file: /etc/logrotate.d/uce_server
If this file is not on your system, create a new file with this path name.
If you do not have the logrotate application, use Sun Update Connection – Enterprise to install it on the SDS system. Use a cron job to run the log rotations hourly, or daily.
Open /etc/logrotate.d/uce_server for editing.
Its content should include:
/var/log/uce_server/access_log
/var/log/uce_server/error_log
/var/log/uce_server/ssl_engine_log
/var/log/uce_server/ssl_request_log
{
rotate 2
missingok
size=100M
compress
sharedscripts
postrotate
/etc/init.d/uce_server graceful
endscript
}
If this content is not in the file, add it.
To have more rotating files, increase the value of the rotate parameter.
To ensure your logs are small, decrease the value of the size parameter.