Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 0e532ca

Browse files
author
NL\Jeroen.Stemerdink
committed
Updated readme
1 parent e56d18a commit 0e532ca

File tree

1 file changed

+2
-2
lines changed
  • EPi.Libraries.Logging.Serilog.AppSettings

1 file changed

+2
-2
lines changed

EPi.Libraries.Logging.Serilog.AppSettings/readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
The settings were added to your appsettings:
33

44
<add key="serilog:minimum-level" value="Error" />
5-
<add key="serilog:write-to:RollingFile.pathFormat" value="C:\Logs\myapp-{Date}.txt" />
6-
<add key="serilog:write-to:RollingFile.retainedFileCountLimit" value="10" />
5+
6+
If you want to use e.g. a variable "basepath" in your pathformat, you can add "Environment.SetEnvironmentVariable("BASEPATH", AppDomain.CurrentDomain.BaseDirectory);" to the Application_Start in the global.asax
77

88
See https://github.com/serilog/serilog/wiki/AppSettings for all configuration options.
99

0 commit comments

Comments
 (0)