With the web api I am developing, I need to output data to a log file. I know I can add stuff to the stdout log file, but I would rather like to output to a dedicated log file. My web service does not have a web.config in the project in Visual Studio, but it does when I publish it. If I wanted to have it so the log file location is specified in the web.config, or another config file, what is the best way to go about this? As the web service is multi-threaded, does that have an impact on logging?
↧