Starting CASA Without the Logger
From CASA Guides
You also have the option of starting CASA without the logger, for example if you are running remotely in a terminal window without an X11 connection, or if you just do not want to see the logger GUI. In this case use the --nologger option:
casapy --nologger
The logger messages will still go into the 'casapy.log' file. If you want to see these at your terminal, use the --log2term option also:
casapy --nologger --log2term