sgryphon / essential-diagnostics

Essential.Diagnostics contains additional trace listeners, filters and utility classes for the .NET Framework System.Diagnostics trace logging. Included are colored console, SQL database, rolling file, Seq logging server, and in-memory trace listeners, expression filters, activity and logical operation scopes, and configuration file monitoring.
Microsoft Reciprocal License
69 stars 25 forks source link

Create log file in application root path #17

Open sgryphon opened 7 years ago

sgryphon commented 7 years ago

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 commented 7 years ago

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