'How to not truncate INFO messages in bazel output?

The INFO: messages emitted when running bazel are truncated to size of the terminal. How can I specify bazel not to truncate INFO messages?

When I redirect the output to a file - of course it has the complete info.

When I change the terminal size manually, it truncates to the terminal size. The options to set the terminal size ex: export COLUMNS=500 or stty rows 50 cols 132 doesn't seem to work.

Either way I need a bazel option and not looking for workarounds.



Solution 1:[1]

A quick solution is to bazel .... |& tee /dev/null

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Starfish