Add log_flush option to core, distrib, and ACM

Default to 1 as that's what is currently done
(always flush after write to log).
Also, update sample configs for core and distrib

Signed-off-by: Hal Rosenstock <hal@mellanox.com>