Output Log doesn't show compiler errors

I can’t see any compiler errors in the Output Log. Only error message I can see is:

ERROR: UBT ERROR: Failed to produce item

But I found that compiler error messages are visible in the Terminal window after running it by command ./UE4Editor. How can I make them visible in the Output Log window?

My environment: Ubuntu 16.04, UE 4.17.1, clang 3.8.0.

It’s better to open UE4 on Terminal. You’ll be able to see log messages in it.

Okay, I figured it out. Just open UE4Editor in terminal with the following command. It logs everything.

/Users/Shared/EpicGamesAlt/UE_4.20/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor -EpicPortal