| Предыдущий | Следующий |
| ERROR_LOG_FILE_FULL | ERROR_CONTAINER_ASSIGNED |
ERROR_EVENTLOG_FILE_CHANGED
Что означает ERROR_EVENTLOG_FILE_CHANGED
ERROR_EVENTLOG_FILE_CHANGED — файл журнала событий был изменён между операциями чтения.
Что проверить
Определите журнал событий и операцию чтения/открытия, при которой получен код.
- Проверьте, не был ли файл журнала заменён, очищен или повреждён между последовательными операциями; сопоставьте это с событиями службы Windows Event Log.
- Если повреждён сам журнал, сохраните его копию для анализа до очистки или восстановления.
Исходная формулировка
An event log changed while a reader was using an earlier view.
an administrator or maintenance task cleared the channel
the log file was archived, replaced, restored, or rotated during collection
For modern consumers, use Windows Event Log bookmarks and subscriptions with documented stale-bookmark handling. Serialize checkpoint updates only after downstream processing commits, so reopening does not create unbounded duplicates. If a maintenance workflow intentionally clears logs, coordinate it with collectors or archive first.
Close the stale query or log handle and open a fresh one. Decide from product policy whether to continue from the oldest available record, the newest record, or a durable bookmark that still resolves. Detect gaps and report them explicitly; silently jumping forward can hide lost audit data.
Технические ссылки
Нужно найти другой код? Найти другой код состояния или ошибки.
