New event viewer warning

Xander Warren 70 Reputation points
2026-08-31T00:08:39.69+00:00

Ever since around the time I got Malwarebytes because defender would crash when scanning (that's fixed now) I've noticed a new warning from Kernel-EventTracing its evnet ID 1 with the description "The backing-file for the real-time session "DefenderApiLogger" has reached its maximum size. As a result, new events will not be logged to this session until space becomes available. This error is often caused by starting a trace session in real-time mode without having any real-time consumers."

Not sure if this is something that needs to be fixed or if it can be ignored. Haven't noticed any system weirdness or slowdowns or anything wrong with defender. So I guess the question is, is this normal windows 11 behavior? If not is it normal if using another antivirus like Malwarebytes as my main antivirus and have defender running in a passive mode.

Windows for home | Windows 11 | Performance and system failures
0 comments No comments

Answer accepted by question author
Clary-N 15,730 Reputation points Microsoft External Staff Moderator
2026-08-31T05:51:42.13+00:00

Hi Xander Warren,

Based on the information you've provided and the AI Answer, I would not be concerned about this warning by itself.

The Kernel-EventTracing, Event ID 1 entry for DefenderApiLogger generally indicates that the trace session reached its configured log size limit and temporarily stopped recording additional events. This is typically considered a logging-related notification rather than an indication that Microsoft Defender or Windows security has failed.

Since you've mentioned that Defender is no longer crashing during scans, Windows is otherwise stable and you're not experiencing performance issues or security-related symptoms, this warning alone would not normally require any corrective action.

It's also worth noting that if you're using Malwarebytes as your primary antivirus, Microsoft Defender may continue to run certain background components and logging services even when it is operating in a passive or limited role. In that scenario, occasional DefenderApiLogger warnings are not necessarily unexpected.

The main thing I would watch for is whether you begin seeing Microsoft Defender errors, such as Event ID 5008 or if Windows Security starts reporting protection issues. If neither of those is occurring, I'd be inclined to treat this as an informational Event Viewer entry and simply monitor it rather than attempt to fix it.

I hope this helps clarify what you're seeing. If you have any other questions, please let me know.


If you have extra questions about this answer, please click "Comment".  

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Oldest
  1. AI answer

    2026-08-31T00:08:53.5666667+00:00

    This warning can usually be ignored in this scenario.

    For Defender-related Event ID 1 in the System log, the documented meaning is that the backing file for a real-time session reached its maximum size, so new events stop being logged until space becomes available. The documented action for that event is Normal operating notification; no action required.

    To verify it:

    1. Open Event Viewer.
    2. Open Windows Logs > System.
    3. Find Kernel-EventTracing with Event ID 1.

    If the system is otherwise stable and Microsoft Defender is working normally, this event by itself does not indicate a Defender failure.

    A separate Defender event to watch for is Event ID 5008, which means the antimalware engine encountered an error and failed. If that appears again, the documented troubleshooting is to restart the service from an elevated command prompt:

    • net stop msmpsvc
    • net start msmpsvc

    Note: restarting security services is a system-level action. Save work first and use it only if Event ID 5008 is actually occurring again.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.