Changes
Serilog
,! LogLevel !! Purpose
|- align="left"
| Verbose || It is the noisiest level, generally used only as a last resort when debugging a difficult problem, and rarely (if ever) enabled for a production app. For example, local variables within an algorithm implementation might be logged at this level.
|- align="left"
| Debug || Debug is used for internal system events that are not necessarily observable from the outside, but useful when determining how something happened. For example, the details of requests and responses made to and from external integration points would often be logged at this level.
|}
===Logging methods used in UBIKKernel===
{| class="wikitable sortable" | width = "50%"
|- align="left"
| LogInformation || Information || method for writing an information log message to the output log file logged as Information event level. (new)
|- align="left"
| LogSQLStatement LogSQLCommand || Information || method for writing a sql log message to the output log file logged as Information event level.
|- align="left"
| LogWorkflowOutput || Information || method for writing a service log message to the output log file logged as Information event level.
|- align="left"
| ThrowAssertion || Warning || method for writing an assertion log message to the output log file logged as Information event level.
|- align="left"
| LogWarning || Warning || method for writing a warning log message to the output log file logged as Warning event level.
|- align="left"
|}
=== How To Configure Logging === *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 “value”“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:\Users\....logs").**Using OS Environment Variables (e.g.value="%SYSTEMDRIVE%\source\repos\UBIK.Server\Branches\..logs") is possible.**Using Relative path's (e.g.value="..\UBIK.Studio\bin\Debug\Logs and its values can be changed to any local pathlogs" used for moving up in the hierarchy from the current directory) or (e.g. value="C:.\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.
<!-- DO NOT REMOVE THIS -->{{Template:Activity/End}}<!-- DO NOT REMOVE THIS -->
==See also=How to configure logging Version 3.5 or erlier===* [[Configure Configuration_Files/Logging.config]]* [[HowTo:Configure_Logging]]
===Useful links [What is Serilog]===
* https://serilog.net/
{{Category/Version|3.6.0}}
[[Category:3.6.0|Serilog]]