UserDir banwidth in breakdown, and homdir.log rotation

Version 1.44.1


If you go to the "Bandwidth Breakdown" page for a given User, the hover-over popup will now show the UserDir (IP/~username) usage for that given day. It was always included in the total Apache downloaded amount, and still is included in the Apache total, but now is shown to get a better idea of where bandwidth might have come from. As well, the /var/log/homedir.log, where this banwidth is taken from will be rotated, instead of truncated, eg: /var/log/homedir.log /var/log/homedir.log.1 /var/log/homedir.log.2 etc.. up to the "Number of Apache logs to keep", specified in the Admin Settings. Lastly, the bytes logs: /var/log/httpd/domains/ will also be rotated, so old copies can be seen, eg: /var/log/httpd/domains/ /var/log/httpd/domains/ /var/log/httpd/domains/ .. The rotation of the homedir.log and do rename the numbered files, but the original file is copied and truncated. This is so that we don't need to wait for a full restart of apache... as per this old change:

Try DirectAdmin with a 30-day money back guarantee!