We have a customer requirement to register application level logs in their centralized logging platform called Loggly . Customer wants to capture below information in this application (SaaS model) .
- Batch thread failure logs
- It could be info logs
- Could be exception logs
- API service class logs
- Whether data is received from upstream application
- Whether data is processed to D365 main tables
- Lifecycle for a Sales order / Purchase order on high level
- Whether given SO is received in D365
- Whether given SO is created/posted/packing slip confirmed ?
- Whether invoicing document created / sent to downstream ?
- Level of logging to be registered from AOS standpoint
- All < TRACE < DEBUG <INFO <WARN < ERROR < FATAL < OFF
- Event viewer logs / Deadlock events
- Email notification alerts to support team in case of critical spikes or failures.
Per team analysis to register this level of logging need below pre-requisites to do at AOS level .
- Install log4net-loggly package from NuGet package manager
- Modify Web.config / App.config to insert XMl tag for log4net.config .
- Add Log4net.xml in AOS root directory folder
Need recommendations from team what is feasible from D365 standpoint? and what else we can recommend to client in this regard given the requirement ?
Has anyone implemented Azure Application insights for D365FO telemetry data?