logging.json 1.0 KB

123456789101112131415161718192021222324252627282930
  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%//jellyfin.log",
  19. "fileSizeLimitBytes": 10485700,
  20. "rollOnFileSizeLimit": true,
  21. "retainedFileCountLimit": 10,
  22. "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}"
  23. }
  24. }
  25. ]
  26. }
  27. }
  28. ]
  29. }
  30. }