Hello,
For some reason, the application is not logging anything in the Log.txt file.
I even deleted the log file and then the application is not creating a new one.
Any hints to where I should be looking to help resolve this issue?
Thanks
5 Answer(s)
-
0
Hi @bilalhaidar,
Is it happening on the production environment ? Maybe your app does not have write permission on hte log folder ?
-
0
Hello, It is happening in the dev environment. For some reason, it stopped even creating the log file if I delete it.
Thanks Bilal
-
0
Hi @bilalhaidar,
Could it be writing logs to any other directory ? Is your project MVC 5.x or ASP.NET Core ? If it is ASP.NET Core, do you use .Net 4.6.1 or .Net Core ?
Thanks.
-
0
Hi Ismail,
I am using ASP.NET Core .NET 4.6.
I cannot find the log anywhere. Is there a specific file I should check to make sure of the path? I only checked web.config and the path is correct. The logging before was happening inside bin folder then AppData then Log etc.
Thanks
-
0
Hi @bilalhaidar,
I will check it again. If I cannot reproduce this, I will ask you to send your project to us via email if possible.
Thanks.