We have been working with a customer that has a need to log events for sftp users that are configured to use a chroot jail environment. They need to log the commands entered and the files accessed by the chroot user. Unfortunately all attempts to recreate what has been done in other non-Red Hat discussions seems to fail. The events are logged using sftp as long as they don't involved chroot'd
![How to log internal-sftp chroot jailed users - Red Hat Customer Portal](https://cdn-ak-scissors.b.st-hatena.com/image/square/3108d3d39d44b30ca4891c7cf9161910927d3fdb/height=288;version=1;width=512/https%3A%2F%2Faccess.redhat.com%2Fwebassets%2Favalon%2Fg%2Fshadowman-200.png)