You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

appsettings.json 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "WebApiDB": {
  3. "ConnectionString": "mongodb+srv://dzenis12:[email protected]/?retryWrites=true&w=majority",
  4. "DatabaseName": "WebApiDB"
  5. },
  6. "Logging": {
  7. "LogLevel": {
  8. "Default": "Information",
  9. "Microsoft.AspNetCore": "Warning"
  10. }
  11. },
  12. "JwtSettings": {
  13. "validIssuer": "http://localhost:5116",
  14. "validAudience": "http://localhost:3000",
  15. "jwtSecret": "Ovo je neka sifra koja treba biti tajna"
  16. },
  17. "Serilog": {
  18. "Using": [ "Serilog.Sinks.File" ],
  19. "MinimumLevel": {
  20. "Default": "Information"
  21. },
  22. "WriteTo": [
  23. //{
  24. // "Name": "File",
  25. // "Args": {
  26. // "path": "../Diligent.WebAPI.Host/Logging/webapi-.log",
  27. // "rollingInterval": "Day",
  28. // "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {CorrelationId} {Level:u3} {Username} {Message:lj}{NewLine}{Exception}]"
  29. // }
  30. //},
  31. {
  32. "Name": "Seq",
  33. "Args": {
  34. "serverUrl": "http://localhost:5117"
  35. }
  36. }
  37. ]
  38. }
  39. }