Thank you. That worked with a little twining.
For the domlogs I enabled log rotate from cwp admin
->
File manager -> Logrotate manager -> Add new conf file
at filename I put
domlogs
As contents I used:
/usr/local/apache/domlogs/*.log {
rotate 7
daily
missingok
notifempty
sharedscripts
compress
minsize 1048576
delaycompress
postrotate
/bin/kill -HUP `cat /usr/local/apache/logs/httpd.pid 2>/dev/null` 2> /dev/null || true
endscript
}
After clicking save, I also run it once.