Resolve "LOG_OUTPUT_TRUNC environment variables does not work as expected" Closes #185 and #187 See merge request !118