|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"Serilog": { |
|
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File", "Serilog.Settings.Configuration", "Serilog.Sinks.PostgreSQL" ], |
|
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File", "Serilog.Settings.Configuration", "Serilog.Sinks.Postgresql.Alternative" ], |
|
|
|
"MinimumLevel": { |
|
|
|
"Default": "Debug", |
|
|
|
"Override": { |
|
|
|
@ -62,21 +62,21 @@ |
|
|
|
"Name": "PostgreSQL", |
|
|
|
"Args": { |
|
|
|
"connectionString": "Server=62.156.10.86;Port=5432;Database=WebPeis0520;User Id=postgres;Password=st123;", |
|
|
|
"tableName": "logs", |
|
|
|
"tableName": "sys_log", |
|
|
|
"needAutoCreateTable": true, |
|
|
|
//"columnOptionsSection": { |
|
|
|
// "disableTriggers": true, |
|
|
|
// "standardColumnOptions": { |
|
|
|
// "additionalInformation": true, |
|
|
|
// "properties": { |
|
|
|
// "additionalInformation": true |
|
|
|
// } |
|
|
|
// } |
|
|
|
//}, |
|
|
|
"columnOptionsSection": { |
|
|
|
"disableTriggers": true, |
|
|
|
"standardColumnOptions": { |
|
|
|
"additionalInformation": true, |
|
|
|
"properties": { |
|
|
|
"additionalInformation": true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"restrictedToMinimumLevel": "Warning", |
|
|
|
"batchPostingLimit": 100, |
|
|
|
"period": "0.00:00:30", |
|
|
|
"formatProvider": "Serilog.Sinks.PostgreSQL.ColumnWriterSettingsColumnWriterSettings, Serilog.Sinks.PostgreSQL" |
|
|
|
"period": "0.00:00:30" |
|
|
|
//"formatProvider": "Serilog.Sinks.PostgreSQL.Alternative.ColumnWriterSettingsColumnWriterSettings, Serilog.Sinks.PostgreSQL" |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
|