Added %I to the bytes log format for more accurate logging

Version 1.36

Feature
Finished

This change is in two parts. The 2nd part requires action to make either do anything (unless it's a new install) 1) The tally is now able to parse a bytes log with 2 numbers on a line: /var/log/httpd/domains/domain.com.bytes eg: 123 456 it can still handle one item per line for those systems that do not do the 2nd part. 2) The new main default LogFormat for "bytes" in the /etc/httpd/conf/httpd.conf will now be: LogFormat "%O %I" bytes This will allow for logging of incoming request bandwidth in addition to the outgoing bandwidth. DA will not change your main httpd.conf for you. If you want to log incoming bandwidth, you'd either need to manually edit it, or run the following custombuild command: ./build update ./build rewrite_confs New installs after this update is released won't need to worry about it since this will be the default.

Interested to try DirectAdmin? Get a 30-day Free Trial!