vkottler / runtimepy

A framework for implementing Python services.
MIT License
1 stars 0 forks source link

Implement a LogFile struct base for polling file(s) and logging via struct's own logger #270

Open vkottler opened 6 days ago

vkottler commented 6 days ago

Rather than more bespoke "logging" handling such as proposed in https://github.com/vkottler/runtimepy/issues/215 / https://github.com/vkottler/runtimepy/issues/216, something more ubiquitous for the production environment would be to implement a struct that can be easily extended / manifested+configured (a la "out of the box" / "batteries included" product) to log file contents in real time.

vkottler commented 6 days ago

See this comment (https://github.com/vkottler/runtimepy/issues/215#issuecomment-2409713607) for one use case that would be a good standard / default configuration. Could maybe even use a temp file..