Serilog fails to log c:\program files directory

48 Views Asked by At

I am using serilog and the output path to write is the c:\program files directory. When serilog logs a message the log file never appears in the c:\program files directory. I even tried setting the path to a subdirectory in the c:\program files directory. Serilog still failed to log to the subdirectory?

This just seems to stupid. Can Serilog create a the log file and log message to the c:\program files directory or a subdirectory?

0

There are 0 best solutions below