another option is to start you session with folowing parameters:
-clientlog clientlog.txt
-logginglevel 4
# ATTENTION QryInfo -> SYSTEM ERROR !!! (AIx/Linux)
-logentrytypes DB.Connects,FileID,4GLMessages,4GLTrace,QryInfo
-clearlog
-logthreshold 500000
-numlogfiles 5
-debugalert
-errorstack
-yc...