Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I would like to be able to view events (information, warning and error events) generated by the MPOS in Event Viewer. I am however not able to do this. In the MPOS TypeScript code you can create events like this:
The system.diagnostics part of my DLLHost.exe.config-file looks like this:
<source name="RetailNetTracerEventLog" switchValue="Information">
<add name="EventLogTraceListener" />
<!-- this defines a listener -->
<add name="EventLogTraceListener" type="System.Diagnostics.EventLogTraceListener" initializeData="Microsoft Dynamics AX Retail : Retail Client Broker" />
<!-- this configures tracing -->
<remove name="Default" />
<add name="EventLogTraceListener" />
I have create a custom view in Event Viewer where I have included 'Microsoft Dynamics AX Retail : Retail Client Broker' as a Source.
I am however not seeing the events from the MPOS. For debugging purposes I would like to see the events. Do you have any suggestions?
Try change the value > switchValue = "All", in RetailNetTracerEventLog
I Hope this Helps,
Thanks for you reply. I tried this, but I am afraid there was no change. I am still not seeing the events.
I opened a support case with Microsoft and I now know how this works. Events from the MPOS can be found in Event Viewer here:
Application and Services Logs -> Microsoft -> Windows -> AppHost -> AppTracing
Can you locate in your Event Viewer: Applications and Services Logs->Microsoft->Dynamics->Commerce-ModernPos?
You would see there 3 logs: Admin, Debug, Operational where Operational would contain errors and Debug is by default disabled but can be Enabled if needed.
Can you please highlight do we need to just change SwitchValue="All" and see events in specified location as it is not appearing. may be I am missing some step.
Can you please highlight if we just specify switchVa;ue="All" in config and check at the location mentioned as I did this and unable to see any log. Any suggestions or steps will be great.
You must set switchValue to "All". Then you must activate the event log using Event Viewer.
AppTracing should now appear. You might have to restart Event Viewer to see log entries. If you now use the MPOS you should see the events under AppTracing.
Thanks for reply Morten. I can see AppTracing Node now but its still empty. Should I have to recapture all tracing by running MPOS?
>... I can see AppTracing Node now but its still empty. ...
What version of the product (MPOS/AX/RS) are you using?
Thanks Morten & Sergey,
It worked after recapturing. I can see logs now.
Business Applications communities