[Box Backup] [Boxbackup-dev] Connection statistics NET_IN patch?

Chris Wilson chris at qwirx.com
Mon Aug 1 21:42:16 BST 2011


Hi all,

Pete Jalajas made the following request for a change to the 
"Connection statistics" logged by the server at the end of each client 
connection:

On Mon, 1 Aug 2011, Peter Jalajas, GigaLock Backup Services wrote:

> In:   http://www.boxbackup.com/trac/browser/box/chris/general/bin/bbstored/BackupStoreDaemon.cpp?rev=1855
> 355	        BOX_INFO("Connection statistics for " << commonName << ":"
> 356	                " IN="  << s.GetBytesRead() <<
> 357	                " OUT=" << s.GetBytesWritten() <<
> +++	                " NET_IN=" << (s.GetBytesRead() - s.GetBytesWritten()) <<
> 358	                " TOTAL=" << (s.GetBytesRead() + s.GetBytesWritten()));

Any objections before I commit this? (e.g. anyone parsing the statistics 
line who wouldn't easily be able to patch their scripts to cope with this)

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <chris+sig at qwirx.com> Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\__/_/_/_//_/___/ | We are GNU : free your mind & your software |



More information about the Boxbackup mailing list