essential-diagnostics icon indicating copy to clipboard operation
essential-diagnostics copied to clipboard

Create log file in application root path

Open sgryphon opened this issue 7 years ago • 1 comments

I have logging for my Wcf service using Essential Diagnostics. If i dont give file path in "initializeData", its getting created inside "C:\Windows\System32\inetsrv". is there a way to create in the application root folder?

sgryphon avatar Jul 18 '17 13:07 sgryphon

Need to provide tokens in the path to allow to write to appropriate locations. e.g. the AppData token.

sgryphon avatar Jul 18 '17 13:07 sgryphon