Improve the logging output when hijack is used. Fixes #332