irqbalance icon indicating copy to clipboard operation
irqbalance copied to clipboard

Logging is buffered

Open sean-anderson-seco opened this issue 6 months ago • 2 comments

By default, stdout is buffered when piped to another program (such as when irqbalance is ran by systemd). Messages are delayed until the buffer is full, at which point they are all written at once. This can cause messages to be printed many minutes after they were generated. This can be fixed either by

  • Logging on stderr
  • Configuring stdout to be unbuffered

sean-anderson-seco avatar Aug 08 '24 22:08 sean-anderson-seco