Skip to content

silent log dropping #25

@pauliusbaulius

Description

@pauliusbaulius

When implementing this logger into my application I have noticed behavior that silently drops logs if they are not json serializable. Is also seems that all logs from the buffer/queue get dropped together, since no logs are received in the time frame when logs are collected and sent in a batch. If next batch has no issues logs are delivered. Is this intended? I could invest some time to fix this by implementing smarter json encoder that handles usual cases like datetime or dataclass encoding or at least send parts of log that can be encoded to at least not lose crucial data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions