{"title":"Enable Business Central debug logs in Event Viewer","url":"https://jonas-paprotka.de/docs/dev-itpro/administration/use-event-viewer-collect-view-trace-events/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/use-event-viewer-collect-view-trace-events, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/use-event-viewer-collect-view-trace-events","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Explains how to enable debig logs in Event Viewer.","date":"2024-04-16","meta":{"topic":"how-to"},"outline":[{"level":1,"title":"Enable Business Central debug logs in Event Viewer","slug":"enable-business-central-debug-logs-in-event-viewer","at":0,"chars":1777},{"level":3,"title":"To enable debug logs in Event Viewer","slug":"to-enable-debug-logs-in-event-viewer","at":457,"chars":946},{"level":2,"title":"Related information","slug":"related-information","at":1403,"chars":374}],"text":"# Enable Business Central debug logs in Event Viewer\nSome Business Central Server events are collected in the following Debug logs specific to Business Central in Event Viewer:\n Applications and Services Logs > Microsoft > DynamicsNAV > Server\n Applications and Services Logs > Microsoft > DynamicsNAV > Common\nBy default the Debug logs are disabled and might also be hidden in the Event Viewer. To collect trace event data, you must enable the Debug logs.\n### To enable debug logs in Event Viewer\n1. On the computer that is running Business Central Server, start Event Viewer.\n See How to Start Event Viewer<https://learn.microsoft.com/previous-versions/>.\n2. In the console tree, choose Applications and Services Logs, Microsoft, DynamicsNAV, and then Server or Common.\n3. If the Debug log isn't shown under Server, then on the View menu, select Show Analytic and Debug Logs.\n4. Select the Debug log, and then on the Actions menu, choose Enable Log.\n> NOTE\n> Depending on the number of events, you might have to increase the maximum size of the log. The default value is 1028 KB. See Set Maximum Log Size<https://learn.microsoft.com/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc748849(v=ws.11)>.\nBusiness Central Server trace events will now be recorded in the Debug log. For a list and description of trace events, see Business Central Server Trace Events<server-trace-events>.\n## Related information\nMonitoring Business Central Server Events<monitor-server-events>\nShow or Hide Analytic and Debug<https://learn.microsoft.com/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc766275(v=ws.11)>\nEnable Analytic and Debug Logs<https://learn.microsoft.com/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc749492(v=ws.11)>"}