Difference between revisions of "Serilog"
Line 69: | Line 69: | ||
|- align="left" | |- align="left" | ||
|} | |} | ||
− | + | ||
− | **The default Log path is set to the installation directory of UBIK. Its value can be changed to any local path (e.g. value="C:\logs"). Using OS Environment Variables (e.g. value="%SYSTEMDRIVE%\logs") is possible. Using Relative path's (e.g. value="..\logs" used for moving up in the hierarchy from the current directory) or (e.g. value=".\logs" represents the current directory itself | + | *Added a way for the User to configure the default log path, the file count limit, the log event level and rolling policies through Logger.config with changing only the “values”, which are set on their default. |
+ | **The default Log path is set to the installation directory of UBIK. Its value can be changed to any local path (e.g. value="C:\logs"). | ||
+ | **Using OS Environment Variables (e.g. value="%SYSTEMDRIVE%\logs") is possible. | ||
+ | **Using Relative path's (e.g. value="..\logs" used for moving up in the hierarchy from the current directory) or (e.g. value=".\logs" represents the current directory itself) is possible. | ||
**The default for the event level is set to Debug and its values can be changed to Verbose, Information, Warning, Error or Fatal. | **The default for the event level is set to Debug and its values can be changed to Verbose, Information, Warning, Error or Fatal. | ||
− | + | *File default count limit is set to 31 and its values can be changed to any positive number. | |
− | + | *The default Rolling policies is set to Day and its values can be changed to "Day", "Month" or "Year". | |
Revision as of 05:52, 12 August 2020
Serilog is a portable and structured logging framework to record diagnostic logs into files, console and SQL/NoSQL databases.
See also