Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "AppLog": {
- "Serilog": {
- "MinimumLevel": "Information",
- "WriteTo": [
- {
- "Name": "RollingFile",
- "Args": {
- "pathFormat": "%PROGRAMDATA%\Logs\AppLogs\AppLog.txt",
- "fileSizeLimitBytes": 10485760,
- "retainedFileCountLimit": 10,
- "rollingInterval": "Day",
- "outputTemplate": "== {Timestamp:yyyy-MM-dd HH:mm:ss} [{LogType}] [{Level}] [{ErrorCode}] {Message}{NewLine}{Exception}"
- }
- }
- ]
- }
- },
- "AuditLog": {
- "Serilog": {
- "MinimumLevel": "Information",
- "WriteTo": [
- {
- "Name": "RollingFile",
- "Args": {
- "pathFormat": "%PROGRAMDATA%\Logs\AuditLogs\AuditLog.txt",
- "fileSizeLimitBytes": 5242880,
- "retainedFileCountLimit": 30,
- "rollingInterval": "Day",
- "outputTemplate": "== {Timestamp:yyyy-MM-dd HH:mm:ss} [{LogType}] [{Level}] [{ErrorCode}] {Message}{NewLine}{Exception}"
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement