mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
Merge pull request #15163 from keymanapp/change/windows/use-circular-buffer-for-logging
change(windows): use circular buffer for logging
This commit is contained in:
commit
149aef4cb5
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ begin
|
|||
pSessionProperties.Wnode.Flags := WNODE_FLAG_TRACED_GUID;
|
||||
pSessionProperties.Wnode.ClientContext := 1; //QPC clock resolution
|
||||
pSessionProperties.Wnode.Guid := SessionGuid;
|
||||
pSessionProperties.LogFileMode := EVENT_TRACE_FILE_MODE_SEQUENTIAL;
|
||||
pSessionProperties.LogFileMode := EVENT_TRACE_FILE_MODE_CIRCULAR;
|
||||
pSessionProperties.MaximumFileSize := 256; // 256 MB
|
||||
pSessionProperties.LoggerNameOffset := sizeof(EVENT_TRACE_PROPERTIES);
|
||||
pSessionProperties.LogFileNameOffset := sizeof(EVENT_TRACE_PROPERTIES) + sizeof(LOGSESSION_NAME);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue