python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
.NET Core 6, NLog And ILogger, log to SQL Server database, custom fields issue
I use .NET Core 6 with NLog used via ILogger, to access information in a SQL Server database.
I have two custom fields that I cannot save in the database. For these two fields I always got 0 in the da...
Luciano
Votes: 0
Answers: 1
How to add a computer environment variable to a console application as a path pointer for logging
I created a variable on the computer and specified the path to the folder through it, then specified it in the NLog.config file
fileName="${environment:LOG_DIRECTORY}${date:format=yyyy-MM-dd}_rep...
Olga
Votes: 0
Answers: 0
Application insight not receiving Nlog for hosted service
I try everything I can think of but I must miss something.
I have a hostedService project in netcoreapp3.1
I referenced the following
<PackageReference Include="Microsoft.ApplicationInsights.N...
Guillaume
Votes: 0
Answers: 1
Configure in the appsetting Nlog to write in Seq
I have an application in net core, the application writes all the logs in SeqLog, I used Nlog to configure everything and so far I have used an .xml file to give Nlog all the information useful for co...
Vinceenzo
Votes: 0
Answers: 1