logging - What is the LoggingSession buffer size? -


i using loggingsession tracing in universal app. loggingsession uses in-memory circular buffer cache messages. size buffer? can/should 1 configure it?

the max size of .etl file created via savetofileasync() seems 3kb. oberving directory in file explorer strangely shows .etl.tmp files size 260kb being created , deleted.

loggingsession uses 4 buffers. buffer size either 64kb or 65kb, depending on version of windows. sizes not configurable. idea program continually logs info doing. if weird happens (i.e. unexpected exception) can save recent 256kb worth of logs , upload them.

while raw buffers total 256kb or 260kb, if haven't logged events, they'll empty. loggingsession flush data disk, run raw data through compression, why final size small. bigger if there more data in buffers.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -