logging.json 1.0 KB

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