Change logging of llblgen exceptions to Serilog

Posts   
 
    
Edoode
User
Posts: 4
Joined: 29-Mar-2007
# Posted on: 08-Nov-2023 10:39:38   

Hello,

We are using llblgen (5.10.1) in conjunction with serilog and Serilog.Sinks.AzureAnalytics. When llblgen encounters an exception, a log message is sent to serilog, which generates a lot of custom columns in the azure loganalytics table: one for each field in the entity. This leads to columns being created named 'LogException__involvedEntity__dataErrorInfoError_s' or 'LogException__involvedEntity__fieldsIsDirty_b' or 'LogException__involvedEntity__objectID_g'

The maximum number of custom columns in Azure logAnalytics is 500: once you hit this number, any message that should have created a new column is silently ignored. My question is: how can I change the serilog message templates for llblgen? I wish to not create a custom column for each field.

Regards

-Edoode

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 09-Nov-2023 02:54:12   

I haven't used Serilog before, but as far as I understand, you need to contact serilog supoort, why do they create those columns.

I don't see how this can be an LLBLGen issue.