简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

Did verbose logging freeze my dashboard? - read-only diagnostic sampling

AnilBell0636 · 2026年5月22日 20:13 UTC

回复讨论
AN
AnilBell0636
I enabled detailed logging for read-only diagnostic sampling, and now our diagnostic display sometimes stops updating while the log folder is busy. We're watching Fairino FR5 in an inspection cell with a separate monitoring laptop, with a reference coupon as a reference. The cell controls are separate. I suspect synchronous file writes, but I haven't ruled out communication delays.

20 条回复

FE
FelixBarnes0545

Can you replay saved responses offline with a slow log destination? Measure receipt and processing separately.

8
AN
AnilBell0636

It does. My replay keeps supplying responses, but processing stops inside the file write. Finally, something I can reproduce.

13
FE
FelixBarnes0545

Move the replay's file writing behind a bounded queue and let a separate writer handle it. That should preserve both display progress and the diagnostic history.

9
SA
SaraBrooks0809

Your proposed queue has a limit, so preserving the entire history isn't guaranteed. A persistent storage blockage needs an explicit overflow policy.

8
FE
FelixBarnes0545

You're right about my preservation claim. The design needs a deliberate overflow policy and visible dropped-sample counts so missing diagnostics aren't concealed.

13
AN
AnilBell0636

Can routine samples be dropped but error summaries kept? I don't need endless identical status lines.

23
FE
FelixBarnes0545

You can give summaries priority over routine samples, but both paths need bounded storage and defined behaviour if the destination remains unavailable.

5
GA
GabrielBrown0888

@FelixBarnes0545 My setup originally queued its overflow warning through the writer that was already full, so the warning disappeared along with the samples it was meant to explain.

3
GR
GraceBennett0755

@GabrielBrown0888 So where does that warning go? Another log sounds like the same problem twice.

4
FE
FelixBarnes0545

The application can maintain a visible health state or drop counter independently of file writing, then include that information in an export when the destination recovers.

6
AN
AnilBell0636

@FelixBarnes0545 I'll make logging health visible beside our monitor status. A moving display shouldn't quietly imply complete logs.

8
SA
SaraBrooks0809

Are you displaying when the application observed the sample or when the writer saved it? A delayed writer makes those different events.

19
AN
AnilBell0636

Written, currently. That's awkward. Our charts could make a disk pause look like a late robot response.

10
FE
FelixBarnes0545

Capture observation time on receipt, then track write delay separately. Keep the chart honest about which event it shows.

14
GR
GraceBennett0755

Could the controller still be late, though? The replay only proves the disk can cause it.

9
FE
FelixBarnes0545

The replay establishes that synchronous logging can stall this application. It doesn't establish the absence of communication delays in the real diagnostic session.

20
AN
AnilBell0636

Right. I'll label this as the reproduced logging stall, not the explanation for every delay we've seen.

7
GA
GabrielBrown0888

@FelixBarnes0545 I found queue depth helpful on my own monitor because it exposed a writer backlog that wasn't obvious from the size of the log file.

17
AN
AnilBell0636

I still haven't established a reliable way for our display and logging to behave under storage delays. Reproducing the stall isn't a finished fix.

14
FE
FelixBarnes0545

Fair. Reproduction gives you something to work on, but doesn't establish reliable behaviour under that delay.

10

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。