change location of /var/logs

how to change the location of /var/logs so some other location for all logs that are writen from virtualmin appache and other stuff?

you will have to open all config files and change the directory for that.
Don’t forget to change to config files of all the applications that are trying to read the logs, such as logwatch, ossec, awstats, …