NT Eventlog single message size

2019-04-20 02:01发布

Can anybody tell me what is maximum size of a windows NT log message? I know that it is possible to reset the maximum log size of event log from 32 MB. I am interested about the memory a single message can hold in NT event log.

Thanks in advance

2条回答
Melony?
2楼-- · 2019-04-20 02:41

The answer is 32766 characters ~ 32 KB

See a example below: Error: Log entry string is too long. A string written to the event log cannot exceed 32766 characters.

查看更多
Fickle 薄情
3楼-- · 2019-04-20 03:02

In Windows Server 2008 the maximum size of a single Event Log entry is: 31,839 characters http://msdn.microsoft.com/EN-US/library/windows/desktop/aa363679.aspx

查看更多
登录 后发表回答