move client msg from stdout to debug log