mirror of
https://github.com/Caraxi/mare.server.git
synced 2026-02-17 18:37:43 +01:00
add logging stuff
This commit is contained in:
parent
d56923d553
commit
15b220dc8b
9 changed files with 81 additions and 49 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-MareSynchronosServer-BA82A12A-0B30-463C-801D-B7E81318CD50;Trusted_Connection=True;MultipleActiveResultSets=true"
|
||||
"DefaultConnection": "Server=(localdb)\\SQLEXPRESS;Database=mare;Trusted_Connection=True;MultipleActiveResultSets=true"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
|
|
@ -9,20 +9,32 @@
|
|||
"Microsoft.Hosting.Lifetime": "Information",
|
||||
"MareSynchronosServer.Authentication": "Warning",
|
||||
"System.IO.IOException": "Warning"
|
||||
},
|
||||
"File": {
|
||||
"BasePath": "logs",
|
||||
"FileAccessMode": "KeepOpenAndAutoFlush",
|
||||
"FileEncodingName": "utf-8",
|
||||
"DateFormat": "yyyMMdd",
|
||||
"MaxFileSize": 10485760,
|
||||
"Files": [
|
||||
{
|
||||
"Path": "mare-<counter>.log"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"UnusedFileRetentionPeriodInDays" : 7,
|
||||
"CacheDirectory": "G:\\ServerTest", // do not delete this key and set it to the path where the files will be stored
|
||||
"UnusedFileRetentionPeriodInDays": 7,
|
||||
"CacheDirectory": "G:\\ServerTest", // do not delete this key and set it to the path where the files will be stored
|
||||
"AllowedHosts": "*",
|
||||
"Kestrel": {
|
||||
"Endpoints": {
|
||||
"Https": {
|
||||
"Url": "https://+:5001",
|
||||
"Url": "https://+:5000",
|
||||
"Certificate": {
|
||||
"Subject": "darkarchon.internet-box.ch",
|
||||
"Store": "Root",
|
||||
"Store": "My",
|
||||
"Location": "LocalMachine",
|
||||
"AllowInvalid": false
|
||||
//"AllowInvalid": false
|
||||
// "Path": "", //use path, keypath and password to provide a valid certificate if not using windows key store
|
||||
// "KeyPath": ""
|
||||
// "Password": ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue