{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "System": "Warning" }, "Serilog": { "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ], "MinimumLevel": { "Default": "Information", "Override": { "Microsoft": "Warning", "System": "Warning" } }, "WriteTo": [ { "Name": "Console", "Args": { "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] [{SourceContext}] {Message:lj}{NewLine}{Exception}" } }, { "Name": "File", "Args": { "path": "logs/codeplay-.log", "rollingInterval": "Day", "retainedFileCountLimit": 30, "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] [{SourceContext}] {Message}{NewLine}{Exception}", "fileSizeLimitBytes": 10485760 } } ], "Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ] } }, "AllowedHosts": "*", "Cors": { "AllowedOrigins": [ "http://localhost:5173", "http://localhost:3000" ] }, "RateLimit": { "MaxRequestsPerMinute": 60 }, "Jwt": { "SecretKey": "YourSuperSecretKeyThatIsAtLeast32CharactersLongForSecurity", "Issuer": "CodePlay", "Audience": "CodePlayUsers", "ExpirationMinutes": 60 } }