Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
broker: avoid truncation of log messages during shutdown
Problem: In the broker shutdown code, log messages may be truncated because the log forwarding code uses a static buffer of FLUX_MAX_LOGBUF. Since a maximum size of the final log message is known, use a variable length array for the buffer in forward_logbuf() instead of FLUX_MAX_LOGBUF to avoid any truncation.
- Loading branch information