luluxyooj
luluxyooj
CC#
Created by luluxyooj on 7/6/2023 in #help
❔ NLog write Json file to server
I am able to create an xml file with nlog.config. However the configuration doesn't seem to work for json. I saw there is another way to generate a json file through appsettings.json but it uses a main() in Program.cs. The application I am working on does not have a main() in Program.cs. Does anyone have a successful way to generate a json file with NLog?
6 replies
CC#
Created by luluxyooj on 7/3/2023 in #help
❔ Elmah log file written in Json or XML
I am trying to get Elmah to write its log to a xml or json file on the server. I reviewed steps and videos but none seem to work for an existing application. If anyone is familiar with Elmah writing in Json or XML - please let me know!!
2 replies