Skip to content

change file stream buffer to 0#384

Open
ChMG wants to merge 2 commits intortbrick:mainfrom
ChMG:main
Open

change file stream buffer to 0#384
ChMG wants to merge 2 commits intortbrick:mainfrom
ChMG:main

Conversation

@ChMG
Copy link
Copy Markdown

@ChMG ChMG commented Apr 22, 2026

I have fixed issue #383 at my local test by setting the file strem buffer to 0.

@hannesgredler
Copy link
Copy Markdown
Member

Hi Christian, Please consider the resolution on #378 Would this fix your problem ?

@ChMG
Copy link
Copy Markdown
Author

ChMG commented Apr 23, 2026

Hi Hannes, hmm, yes and no.
After some additional tests it seems the log file writing and stdout redirection to a file (at bngblaster-controller) is also depending on the performance of the host system.

At my development system (Windows + WSL) I see still problems.
At my production system with much more performance the output of the log (with option -L) is working with #378, but the run.stdout with bngblaster-controller is still hanging or delayed and cut off at the middel of the line.

At the moment I trying to develop a litle web UI for the bngblaster-controller with also a log viewer included.
run.log --> OK

image

run.stdout --> delayed and cut off

image

At the bngblaster-controller files at the filesystem it looks exactly like this.

@GIC-de
Copy link
Copy Markdown
Member

GIC-de commented Apr 23, 2026

The design looks very good, Christian.

Regarding log messages, however, we might consider an alternative approach. I could provide the log messages directly in a way that is more easily consumable by the UI for this specific purpose.

@ChMG
Copy link
Copy Markdown
Author

ChMG commented Apr 23, 2026

Hi Christian, thank you.

Another way to get the logs is also fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants