[session] better logging output from Qt applications