Remote shell: Improve log output