Laurence
|
656942a428
|
wip: improve context handling with creating a custom io writer struct which checks the context before attempting to write
|
2024-04-07 17:14:36 +01:00 |
|
Laurence
|
06e178cbdb
|
wip: even if the file has been rotated outside our control we should still compute the file size
|
2024-04-07 16:31:24 +01:00 |
|
Laurence
|
5570cb96fa
|
wip: me no english great
|
2024-04-07 16:03:10 +01:00 |
|
Laurence
|
9f685bbf0f
|
wip: update yaml dep
|
2024-04-07 16:02:26 +01:00 |
|
Laurence
|
69a6ba7603
|
wip: impl log rotation which checks on check append, however, this may cause some issues in slow systems as the mutex lock doesnt give up until the file is rotated, however, the plugin looks for context and will give up if the plugin broker decides its timeout and will retry once the plugin has pushed again
|
2024-04-07 15:45:59 +01:00 |
|
Laurence
|
434e18c42c
|
wip: the plugin should not handle it own data queue since the plugin process may timeout, so instead have a function that uses said context and loop whilst locking the filewriter this may not be the best way 🤷, however, I dont want multiple notifications to attempt to reopen the file if it has been rotated outside of the plugin context
|
2024-04-07 14:30:49 +01:00 |
|
Laurence
|
4b24c5c3d5
|
wip: remove redundant logrus formatter
|
2024-04-07 13:06:46 +01:00 |
|
Laurence
|
4f67510bdf
|
wip: ticker to 2 seconds and lower some log levels
|
2024-04-07 13:05:34 +01:00 |
|
Laurence
|
f50700429c
|
wip: basic impl of file notification no log rotate but might now do it 🤷
|
2024-04-07 12:37:19 +01:00 |
|