How to find the .NET Agent logs directory (Applies to .NET Framework and .NET Core agents).
If you installed the .NET Framework agent with the MSI installer or scriptable installer, the default logs directory is at
C:\ProgramData\New Relic\.NET Agent\Logs
If you installed the .NET Core agent, or installed either agent with the
NewRelic.AgentNuGet package, you’ll find a “logs” folder in the directory where the agent was extracted on your system.
In some installation methods in linux, it defaults to