Skip to content

Resolve "LOG_OUTPUT_TRUNC environment variables does not work as expected"

Ramon Nou requested to merge rnou/185-log-output-trunc-mode-does-not-work into master

This MR fixes the behavior of the LOG_OUTPUT_TRUNC variable. First, it corrects a wrong comparison with integer value 0 rather than character value '0' that prevented truncation to work as expected. Second, it tweaks the code so that an undefined LOG_OUTPUT_TRUNC does not enable truncation mode.

Closes #185 (closed) #187 (closed)

Edited by Alberto Miranda

Merge request reports