logging.json 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. {
  2. "Serilog": {
  3. "MinimumLevel": "Information",
  4. "WriteTo": [
  5. {
  6. "Name": "Console",
  7. "Args": {
  8. "outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u3}] {Message:lj}{NewLine}{Exception}"
  9. }
  10. },
  11. {
  12. "Name": "Async",
  13. "Args": {
  14. "configure": [
  15. {
  16. "Name": "File",
  17. "Args": {
  18. "path": "%JELLYFIN_LOG_DIR%//log_.log",
  19. "rollingInterval": "Day",
  20. "retainedFileCountLimit": 3,
  21. "rollOnFileSizeLimit": true,
  22. "fileSizeLimitBytes": 100000000,
  23. "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}"
  24. }
  25. }
  26. ]
  27. }
  28. }
  29. ]
  30. }
  31. }