Skip to content

Api logger sending null entries to DB leading to exception without any post api call #37

@Ghannu96

Description

@Ghannu96

I have used this log4netappender for logging in 3 cases in my application. The API appender is triggered automatically multiple times with null entries leading to DB exception for NOT NULL column. The custom code for API logging only runs in case of POST calls.

DB : PostgreSQL 15
Dot Net : .NET 5.0

Please help as I am unable to find the root cause for this. I think it could be because of the log4net DLL version 2.0.14 we are using.

image

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions