Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. "AppLog": {
  2. "Serilog": {
  3. "MinimumLevel": "Information",
  4. "WriteTo": [
  5. {
  6. "Name": "RollingFile",
  7. "Args": {
  8. "pathFormat": "%PROGRAMDATA%\Logs\AppLogs\AppLog.txt",
  9. "fileSizeLimitBytes": 10485760,
  10. "retainedFileCountLimit": 10,
  11. "rollingInterval": "Day",
  12. "outputTemplate": "== {Timestamp:yyyy-MM-dd HH:mm:ss} [{LogType}] [{Level}] [{ErrorCode}] {Message}{NewLine}{Exception}"
  13. }
  14. }
  15. ]
  16. }
  17. },
  18. "AuditLog": {
  19. "Serilog": {
  20. "MinimumLevel": "Information",
  21. "WriteTo": [
  22. {
  23. "Name": "RollingFile",
  24. "Args": {
  25. "pathFormat": "%PROGRAMDATA%\Logs\AuditLogs\AuditLog.txt",
  26. "fileSizeLimitBytes": 5242880,
  27. "retainedFileCountLimit": 30,
  28. "rollingInterval": "Day",
  29. "outputTemplate": "== {Timestamp:yyyy-MM-dd HH:mm:ss} [{LogType}] [{Level}] [{ErrorCode}] {Message}{NewLine}{Exception}"
  30. }
  31. }
  32. ]
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement