Serilog.Sinks.Postgresql.Alternative icon indicating copy to clipboard operation
Serilog.Sinks.Postgresql.Alternative copied to clipboard

It is impossible to define columns with DbType other than Text in the external configuration file

Open FerdinandoCavaliere opened this issue 1 year ago • 1 comments
trafficstars

It is impossible to define columns with DbType other than Text in the external configuration file.

I need to have Json/Jsonb columns. With the PostegreSql Sink it was possible to do this in the Columns section

I've tried various combinations

"loggerPropertyColumnOptions": { "ParameterInput": { "WriteMethod": "Json", "DbType": "Json" }, "ParameterOutput": { "WriteMethod": "Raw", "DbType": "Json" }, "UserLoggedIn": { "WriteMethod": "String", "DbType": "Json" } }

FerdinandoCavaliere avatar Jun 17 '24 11:06 FerdinandoCavaliere

Might be a bug, not sure yet. Need to check it.

SeppPenner avatar Jul 02 '24 16:07 SeppPenner