datalust / seq-forwarder

Local collection and reliable forwarding of log data to Seq
Apache License 2.0
57 stars 15 forks source link

Is seq-forwarder a via way to introduce durable log shipping into Mobile Apps in C# #72

Open johnkattenhorn opened 6 months ago

johnkattenhorn commented 6 months ago

Has anyone tried to implement durable log shipping to occasionally connected dotnet apps (specifically Uno Mobile Apps) using the seq-forwarder - would there be any advantage to doing this over using durable sink options from the seq sink ?

nblumhardt commented 6 months ago

Hi John! I don't think Seq Forwarder will cut it in this scenario, it's really designed around running as a separate process with an HTTP API etc., which I'm guessing will be a challenge on mobile devices.

Does Serilog.Sinks.Seq's durable mode work for you, or would some alternative to the file-backed log buffer be needed?

johnkattenhorn commented 6 months ago

Hi Nick,

I think it does for us internally as we are coming back to Seq as our observation platform.

I was forward planning when a client asks us to plug into one of their platforms of choice if we don’t manage the running environment for them as well.

I was kicking around this dump area of a durable wrapper sink which took another sink as an option and handled all of the offline / online but that’s duplication not just in the Seq sink but I think I remember back in the day we’ve got other syncs which also do some level of durability.

Seq Sink will do us for now I think – the current project I’m think of is 100% managed by us.

Great work mate – really enjoying the new work – just what we needed.

JK

From: Nicholas Blumhardt @.> Sent: Wednesday, February 7, 2024 12:39 AM To: datalust/seq-forwarder @.> Cc: John Kattenhorn @.>; Author @.> Subject: [EXTERNAL]:Re: [datalust/seq-forwarder] Is seq-forwarder a via way to introduce durable log shipping into Mobile Apps in C# (Issue #72)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi John! I don't think Seq Forwarder will cut it in this scenario, it's really designed around running as a separate process with an HTTP API etc., which I'm guessing will be a challenge on mobile devices.

Does Serilog.Sinks.Seq's durable mode work for you, or would some alternative to the file-backed log buffer be needed?

— Reply to this email directly, view it on GitHubhttps://github.com/datalust/seq-forwarder/issues/72#issuecomment-1931028591, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEWOOJBZJOWDANMMVUNGLTYSLELLAVCNFSM6AAAAABC3VM6WSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZRGAZDQNJZGE. You are receiving this because you authored the thread.Message ID: @.**@.>>

nblumhardt commented 5 months ago

Fantastic - thanks, @johnkattenhorn :+1: