-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.Development.json
More file actions
63 lines (63 loc) · 1.68 KB
/
appsettings.Development.json
File metadata and controls
63 lines (63 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"MassTransit": "Warning"
}
},
"ConnectionStrings": {
"MongoDB": "mongodb://admin:password123@localhost:27017/notifications?authSource=admin",
"RabbitMQ": "amqp://guest:guest@localhost:5672/"
},
"Providers": {
"SendGrid": {
"ApiKey": "SG.mock-key-for-development",
"FromEmail": "noreply@example.com",
"FromName": "Notification Engine"
},
"Twilio": {
"AccountSid": "mock-account-sid",
"AuthToken": "mock-auth-token",
"FromNumber": "+1234567890"
},
"Firebase": {
"ProjectId": "mock-firebase-project",
"PrivateKeyId": "mock-key-id",
"PrivateKey": "mock-private-key",
"ClientEmail": "firebase-adminsdk@mock-project.iam.gserviceaccount.com",
"ClientId": "mock-client-id"
},
"Webhook": {
"DefaultTimeout": "00:00:30",
"MaxRetries": 3
}
},
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"System": "Warning",
"MassTransit": "Warning"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {SourceContext}: {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "logs/notification-engine-.txt",
"rollingInterval": "Day",
"retainedFileCountLimit": 7,
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {Level:u3}] {SourceContext}: {Message:lj}{NewLine}{Exception}"
}
}
]
}
}