-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi,
When adding an entry in the loggerPropertyColumnOptions in the WriteTo Config Section, the retentionTime is not used.
The retentionTime field is not passed to the GetOptions method.
Line 257 in 06d4f4b
| var optionsLocal2 = GetOptions( |
example config:
"Serilog": {
"WriteTo": [
{
"Name": "PostgreSQL",
"Args": {
"retentionTime": "0.00:01:00",
"loggerPropertyColumnOptions": {
"TestColumnName": {
"Format": "{0}",
"Name": "TestProperty",
"WriteMethod": "Raw",
"DbType": "Text"
}
}
}
}
]
}
Workaround:
Using the AuditTo configuration uses the retentionTime setting.
Metadata
Metadata
Assignees
Labels
No labels