Base solution for your next web application
Open Closed

New Relic Logs #9562


User avatar
0
maharatha created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 8.6
  • What is your product type (Angular or MVC)? Anghular
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version? 8.1

I have been using New Relics for Application Monitoring, now I would like to use their Log feature , I would like to export the log that's being generated to New Relics.

Below is a documentation I am referring :

https://docs.newrelic.com/docs/logs/enable-log-management-new-relic/logs-context-net/net-configure-log4net https://github.com/newrelic/newrelic-logenricher-dotnet/tree/master/src/Log4Net/NewRelic.LogEnrichers.Log4Net

The idea is to move the logs from the server to New Relics for further analysis.

I need some help and guidance to configure Abp Log4Net config file to make it work.

Secondly I would like to export the Audit Log information to a AuditLog.txt using Log4Net and send it to New Relics to store in their Logs.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    The abp are using standard api and config of Log4Net. so I think only need update the log4net.config file.

    Secondly I would like to export the Audit Log information to a AuditLog.txt using Log4Net and send it to New Relics to store in their Logs.

    You can replace the IAuditingStore with yours. and write audit logs to Relics