Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When looking at Cloudstack logs it is difficult to accurately recognize the byte size value of logged resources. It is much easier to read the size of a resource when the byte value is expressed in KB, MB, GB, or TB as opposed to just a byte value. Cloudstack prints out various byte-sizes in the management server logs, agent logs, event records, and usages records. This feature will eliminate the need to convert the values by hand when reading through the logs.

...

This is the functional specification of the Human readable byte sizes feature.

Document History

VersionAuthor/ReviewerDate
1.0Darrin Hüsselmann

 

Feature Specifications

This feature adds outputting human readable byte sizes in the management server logs, agent logs, and usage records.

...

2020-07-23 15:31:58,593 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:null) (logid:) Seq 8-1863645820801253428: Processing: { Ans: , MgmtId: 52238089807, via: 8, Ver: v1, Flags: 10, [{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-224-VM","bytesSent":"(104,.00 KB) 106496","bytesReceived":"(0 bytes) 0","result":"true","details":"","wait":"0",}}] }

...