NT Eventlog single message size

风格不统一 提交于 2019-12-06 19:19:30

问题


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


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/13418312/nt-eventlog-single-message-size

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!