feat serilog日志输出到mysql
This commit is contained in:
@@ -60,10 +60,11 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "File",
|
||||
"Name": "MySQL",
|
||||
"Args": {
|
||||
"path": "log/log.txt",
|
||||
"rollingInterval": "Hour"
|
||||
"connectionString": "server=192.168.199.124;port=3306;userid=root;password=dlhis123;database=log;charset=utf8mb4;",
|
||||
"tableName": "Logs",
|
||||
"autoCreateSqlTable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user