c# - Azure application diagnostics log message size limit -


i using trace.error() log error messages azure table storage. observed messages not being logged since big in size.

https://msdn.microsoft.com/en-us/library/azure/jj553018.aspx site mentions there maximum 64kb limit per column in azure table storage. see messages bigger around 40kb not being logged.

i want know maximum message size limit can truncate error message limit , log successfully.

from same link:

string a utf-16-encoded value. string values can 64 kb in size.

based on this, each character stored in 2 bytes. maximum amount of characters can store in table attribute 32k. on safe side, truncate messages don't exceed 32k limit.